function field_info_field_by_id


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_field_by_id($field_id)
cle7 field_info_field_by_id($field_id)
elmsmedia7 field_info_field_by_id($field_id)
icor7 field_info_field_by_id($field_id)
meedjum_blog7 field_info_field_by_id($field_id)
mooc7 field_info_field_by_id($field_id)

Returns data about an individual field, given a field ID.


$field_id: The id of the field to retrieve. $field_id can refer to a deleted field, but not an inactive one.

Return value

The field array, as returned by field_read_fields(), with an additional element 'bundles', whose value is an array of all the bundles this field belongs to.

See also


Related topics

27 calls to field_info_field_by_id()
ctools_entity_field_value_ctools_access_check in sites/all/modules/ulmus/ctools/plugins/access/
Check for access.
ctools_entity_field_value_ctools_access_settings in sites/all/modules/ulmus/ctools/plugins/access/
Settings form for the 'by entity_bundle' access plugin
ctools_entity_field_value_ctools_access_settings_submit in sites/all/modules/ulmus/ctools/plugins/access/
Compress the entity bundles allowed to the minimum.
ctools_entity_field_value_ctools_access_summary in sites/all/modules/ulmus/ctools/plugins/access/
Provide a summary description based upon the checked entity_bundle.
field_attach_delete in modules/field/
Delete field data for an existing entity. This deletes all revisions of field data for the entity.

... See full list


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


function field_info_field_by_id($field_id) {
  $cache = _field_info_field_cache();
  return $cache->getFieldById($field_id);



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.