function field_info_instance


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_instance($entity_type, $field_name, $bundle_name)
cle7 field_info_instance($entity_type, $field_name, $bundle_name)
elmsmedia7 field_info_instance($entity_type, $field_name, $bundle_name)
icor7 field_info_instance($entity_type, $field_name, $bundle_name)
meedjum_blog7 field_info_instance($entity_type, $field_name, $bundle_name)
mooc7 field_info_instance($entity_type, $field_name, $bundle_name)

Returns an array of instance data for a specific field and bundle.

The function populates a static cache with all fields and instances used in the bundle, allowing fast retrieval of field_info_field() or field_info_instance() later in the request.


$entity_type: The entity type for the instance.

$field_name: The field name for the instance.

$bundle_name: The bundle name for the instance.

Return value

An associative array of instance data for the specific field and bundle; NULL if the instance does not exist.

Related topics

72 calls to field_info_instance()
accessibility_content_field_attach_view_alter in sites/all/modules/ulmus/accessibility/modules/accessibility_content/accessibility_content.module
Implements hook_field_attach_view_alter().
accessibility_content_field_widget_form_alter in sites/all/modules/ulmus/accessibility/modules/accessibility_content/accessibility_content.module
Implements field_widget_form_alter().
accessibility_install in sites/all/modules/ulmus/accessibility/accessibility.install
Implements hook_install().
accessibility_reporting_field_attach_view_alter in sites/all/modules/ulmus/accessibility/modules/accessibility_reporting/accessibility_reporting.module
Implements hook_field_attach_view_alter().
better_formats_filter_process_format in sites/all/modules/ulmus/better_formats/better_formats.module
Process callback for form elements that have a text format selector attached.

... See full list


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


function field_info_instance($entity_type, $field_name, $bundle_name) {
  $cache = _field_info_field_cache();
  $info = $cache->getBundleInstances($entity_type, $bundle_name);
  if (isset($info[$field_name])) {
    return $info[$field_name];



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.