protected function ConfigDevelSubscriberBase::getEntityId in Configuration development 8
Parameters
\Drupal\Core\Config\Entity\ConfigEntityStorageInterface $entity_storage:
string $config_name:
Return value
string
1 call to ConfigDevelSubscriberBase::getEntityId()
- ConfigDevelAutoImportSubscriber::importOne in src/
EventSubscriber/ ConfigDevelAutoImportSubscriber.php
File
- src/
EventSubscriber/ ConfigDevelSubscriberBase.php, line 54
Class
Namespace
Drupal\config_devel\EventSubscriberCode
protected function getEntityId(ConfigEntityStorageInterface $entity_storage, $config_name) {
// getIDFromConfigName adds a dot but getConfigPrefix has a dot already.
return $entity_storage::getIDFromConfigName($config_name, $entity_storage
->getEntityType()
->getConfigPrefix());
}