You are here

function field_configuration_export_options in Configuration Management 7

Implements hook_configuration_export_options().

1 call to field_configuration_export_options()
configuration_hash_field in includes/configuration.field.inc

File

includes/configuration.field.inc, line 21

Code

function field_configuration_export_options() {
  $options = array();
  $instances = field_info_instances();
  foreach ($instances as $entity_type => $bundles) {
    foreach ($bundles as $bundle => $fields) {
      foreach ($fields as $field) {
        $identifier = "{$entity_type}-{$bundle}-{$field['field_name']}";
        $options[$identifier] = $identifier;
      }
    }
  }
  return $options;
}