You are here

public function FieldBaseConfigurationHandler::getIdentifiers in Configuration Management 7.3

Returns the configuration identifiers handled by this instance.

Return value

array An array of identifiers.

Overrides ConfigurationHandler::getIdentifiers

File

src/Handlers/FieldBaseConfigurationHandler.php, line 17

Class

FieldBaseConfigurationHandler

Namespace

Configuration\Handlers

Code

public function getIdentifiers() {
  $identifiers = array();
  $fields = $this->configuration_manager
    ->drupal()
    ->field_info_fields();
  foreach ($fields as $field_name => $field) {
    $identifiers[$field_name] = $field_name;
  }
  return $identifiers;
}