| Versionen | |
|---|---|
| drupal7 | field_info_instances($bundle_name = NULL) |
Return an array of instance data for a given bundle, or for all known bundles, keyed by bundle name and field name.
$bundle_name If set, return information on just this bundle.
This function is an autoloader for _field_info_instances() in modules/field/field.info.inc.
modules/
<?php
function field_info_instances($bundle_name = NULL) {
require_once DRUPAL_ROOT . '/modules/field/field.info.inc';
return _field_info_instances($bundle_name);
}
?>
Kommentare
Kommentar hinzufügen