You are here

protected function ConfigDevelSubscriberBase::getStorage in Configuration development 8

Parameters

string $entity_type_id:

Return value

\Drupal\Core\Config\Entity\ConfigEntityStorageInterface

1 call to ConfigDevelSubscriberBase::getStorage()
ConfigDevelAutoImportSubscriber::importOne in src/EventSubscriber/ConfigDevelAutoImportSubscriber.php

File

src/EventSubscriber/ConfigDevelSubscriberBase.php, line 44

Class

ConfigDevelSubscriberBase

Namespace

Drupal\config_devel\EventSubscriber

Code

protected function getStorage($entity_type_id) {
  return $this->configManager
    ->getEntityTypeManager()
    ->getStorage($entity_type_id);
}