function field_info_fields


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 field_info_fields()
cle7 field_info_fields()
elmsmedia7 field_info_fields()
icor7 field_info_fields()
meedjum_blog7 field_info_fields()
mooc7 field_info_fields()

Returns all field definitions.

Use of this function should be avoided when possible, since it loads and statically caches a potentially large array of information. Use field_info_field_map() instead.

When iterating over the fields present in a given bundle after a call to field_info_instances($entity_type, $bundle), it is recommended to use field_info_field() on each individual field instead.

Return value

An array of field definitions, keyed by field name. Each field has an additional property, 'bundles', which is an array of all the bundles to which this field belongs keyed by entity type.

See also


Related topics

41 calls to field_info_fields()
context_condition_node_taxonomy::execute in sites/all/modules/ulmus/context/plugins/
ctools_entity_from_field_get_children in sites/all/modules/ulmus/ctools/plugins/relationships/
ctools_fields_get_fields_by_type in sites/all/modules/ulmus/ctools/includes/
Returns a list of field definitions of a specified type.
custom_formatters_formatter_is_active in sites/all/modules/local_contrib/custom_formatters/custom_formatters.module
date_context_date_condition::condition_values in sites/all/modules/ulmus/date/date_context/plugins/
Condition values.

... See full list

3 string references to 'field_info_fields'
ds_extras_settings_submit in sites/all/modules/ulmus/ds/modules/ds_extras/includes/
Submit callback: Extras settings screen.
ds_extras_vd_bundle_form_submit in sites/all/modules/ulmus/ds/modules/ds_extras/includes/
Submit callback: save the new bundle.
ds_extras_vd_bundle_remove_submit in sites/all/modules/ulmus/ds/modules/ds_extras/includes/
Submit callback: remove a views bundle


modules/field/, line 487
Field Info API, providing information about available fields and field types.


function field_info_fields() {
  $cache = _field_info_field_cache();
  $info = $cache->getFields();

  $fields = array();
  foreach ($info as $key => $field) {
    if (!$field['deleted']) {
      $fields[$field['field_name']] = $field;

  return $fields;