field_attach_create_bundle

  1. drupal
    1. drupal7
Versionen
drupal7 field_attach_create_bundle($bundle)

Notify field.module that a new bundle was created.

The default SQL-based storage doesn't need to do anytrhing about it, but others might.

Übergabeparameter

$bundle The name of the newly created bundle.

This function is an autoloader for _field_attach_create_bundle() in modules/field/field.attach.inc.

Verwandte Themen

▾ 2 functions call field_attach_create_bundle()

field_test_create_bundle in modules/simpletest/tests/field_test.module
Create a new bundle for test_entity objects.
node_type_save in modules/node/node.module
Saves a node type to the database.

Code

modules/field/field.autoload.inc, line 317

<?php
function field_attach_create_bundle($bundle) {
  require_once DRUPAL_ROOT . '/modules/field/field.attach.inc';
  return _field_attach_create_bundle($bundle);
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen