| Versionen | |
|---|---|
| drupal7 | field_info_field_types($field_type = NULL) |
Return hook_field_info() data.
$field_type (optional) A field type name. If ommitted, all field types will be returned.
Either a field type description, as provided by hook_field_info(), or an array of all existing field types, keyed by field type name.
This function is an autoloader for _field_info_field_types() in modules/field/field.info.inc.
modules/
<?php
function field_info_field_types($field_type = NULL) {
require_once DRUPAL_ROOT . '/modules/field/field.info.inc';
return _field_info_field_types($field_type);
}
?>
Kommentare
Kommentar hinzufügen