Field Info API

Obtain information about Field API configuration.

The Field Info API exposes information about field types, fields, instances, bundles, widget types, display formatters, behaviors, and settings defined by or with the Field API.

Functions

NameLocationDescription
field_behaviors_formattermodules/field/field.info.incHelper function for determining the behavior of a formatter with respect to a given operation.
field_behaviors_widgetmodules/field/field.info.incHelper function for determining the behavior of a widget with respect to a given operation.
field_info_bundlesmodules/field/field.info.incReturn information about existing bundles.
field_info_cache_clearmodules/field/field.info.incClear the field info cache without clearing the field data cache.
field_info_fieldmodules/field/field.info.incReturn data about an individual field.
field_info_fieldsmodules/field/field.info.incReturn all field definitions.
field_info_field_by_idmodules/field/field.info.incReturn data about an individual field by its id.
field_info_field_settingsmodules/field/field.info.incReturn a field type's default settings.
field_info_field_typesmodules/field/field.info.incReturn hook_field_info() data.
field_info_formatter_settingsmodules/field/field.info.incReturn a field formatter's default settings.
field_info_formatter_typesmodules/field/field.info.incReturn hook_field_formatter_info() data.
field_info_instancemodules/field/field.info.incReturn an array of instance data for a specific field and bundle.
field_info_instancesmodules/field/field.info.incRetrieve instances.
field_info_instance_settingsmodules/field/field.info.incReturn a field type's default instance settings.
field_info_storage_settingsmodules/field/field.info.incReturn a field formatter's default settings.
field_info_storage_typesmodules/field/field.info.incReturn hook_field_storage_info() data.
field_info_widget_settingsmodules/field/field.info.incReturn a field widget's default settings.
field_info_widget_typesmodules/field/field.info.incReturn hook_field_widget_info() data.
_field_info_collate_fieldsmodules/field/field.info.incCollate all information on existing fields and instances.
_field_info_collate_typesmodules/field/field.info.incCollate all information on field types, widget types and related structures.
_field_info_prepare_fieldmodules/field/field.info.incPrepare a field definition for the current run-time context.
_field_info_prepare_instancemodules/field/field.info.incPrepare an instance definition for the current run-time context.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.