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

36 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.
date_context_date_condition::condition_values in sites/all/modules/ulmus/date/date_context/plugins/
Condition values.
date_repeat_field_bundles in sites/all/modules/ulmus/date/date_repeat_field/date_repeat_field.module
Return an array of all entity types and bundles that have repeating date fields.

... 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;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.