| Versionen | |
|---|---|
| drupal7 | field_info_fields() |
Return array of all field data, keyed by field name.
An array of Field objects. Each Field object has an additional property, bundles, which is an array of all the bundles to which this field belongs.
This function is an autoloader for _field_info_fields() in modules/field/field.info.inc.
modules/
<?php
function field_info_fields() {
require_once DRUPAL_ROOT . '/modules/field/field.info.inc';
return _field_info_fields();
}
?>
Kommentare
Kommentar hinzufügen