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.
See Field API for information about the other parts of the Field API.
File
- drupal-7.x/
modules/ field/ field.info.inc, line 34 - Field Info API, providing information about available fields and field types.
Functions
Name | Location | Description |
---|---|---|
field_behaviors_widget |
drupal-7.x/ |
Determines the behavior of a widget with respect to an operation. |
field_info_bundles |
drupal-7.x/ |
Returns information about existing bundles. |
field_info_cache_clear |
drupal-7.x/ |
Clears the field info cache without clearing the field data cache. |
field_info_extra_fields |
drupal-7.x/ |
Returns a list and settings of pseudo-field elements in a given bundle. |
field_info_field |
drupal-7.x/ |
Returns data about an individual field, given a field name. |
field_info_fields |
drupal-7.x/ |
Returns all field definitions. |
field_info_field_by_id |
drupal-7.x/ |
Returns data about an individual field, given a field ID. |
field_info_field_by_ids |
drupal-7.x/ |
Returns the same data as field_info_field_by_id() for every field. |
field_info_field_map |
drupal-7.x/ |
Returns a lightweight map of fields across bundles. |
field_info_field_settings |
drupal-7.x/ |
Returns a field type's default settings. |
field_info_field_types |
drupal-7.x/ |
Returns information about field types from hook_field_info(). |
field_info_formatter_settings |
drupal-7.x/ |
Returns a field formatter's default settings. |
field_info_formatter_types |
drupal-7.x/ |
Returns information about field formatters from hook_field_formatter_info(). |
field_info_instance |
drupal-7.x/ |
Returns an array of instance data for a specific field and bundle. |
field_info_instances |
drupal-7.x/ |
Retrieves information about field instances. |
field_info_instance_settings |
drupal-7.x/ |
Returns a field type's default instance settings. |
field_info_max_weight |
drupal-7.x/ |
Returns the maximum weight of all the components in an entity. |
field_info_storage_settings |
drupal-7.x/ |
Returns a field storage type's default settings. |
field_info_storage_types |
drupal-7.x/ |
Returns information about field storage from hook_field_storage_info(). |
field_info_widget_settings |
drupal-7.x/ |
Returns a field widget's default settings. |
field_info_widget_types |
drupal-7.x/ |
Returns information about field widgets from hook_field_widget_info(). |
_field_info_collate_fields |
drupal-7.x/ |
Collates all information on existing fields and instances. |
_field_info_collate_types |
drupal-7.x/ |
Collates all information on field types, widget types and related structures. |
_field_info_prepare_extra_fields |
drupal-7.x/ |
Prepares 'extra fields' for the current run-time context. |
_field_info_prepare_field |
drupal-7.x/ |
Prepares a field definition for the current run-time context. |
_field_info_prepare_instance |
drupal-7.x/ |
Prepares an instance definition for the current run-time context. |
_field_info_prepare_instance_display |
drupal-7.x/ |
Adapts display specifications to the current run-time context. |
_field_info_prepare_instance_widget |
drupal-7.x/ |
Prepares widget specifications for the current run-time context. |