| 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.
$bundle The name of the newly created bundle.
This function is an autoloader for _field_attach_create_bundle() in modules/field/field.attach.inc.
modules/
<?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