public function VocabularyConfigurationHandler::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/ VocabularyConfigurationHandler.php, line 15
Class
Namespace
Configuration\HandlersCode
public function getIdentifiers() {
$return = array();
$vocabularies = $this->configuration_manager
->drupal()
->taxonomy_get_vocabularies();
foreach ($vocabularies as $vocabulary) {
$return[$vocabulary->machine_name] = $vocabulary->name;
}
return $return;
}