You are here

public function ConfigLister::__construct in Configuration Update Manager 8

Constructs a ConfigLister.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager.

\Drupal\Core\Config\StorageInterface $active_config_storage: The active config storage.

\Drupal\Core\Config\ExtensionInstallStorage $extension_config_storage: The extension config storage.

\Drupal\Core\Config\ExtensionInstallStorage $extension_optional_config_storage: The extension config storage for optional config items.

1 method overrides ConfigLister::__construct()
ConfigListerWithProviders::__construct in src/ConfigListerWithProviders.php
Constructs a ConfigListerWithProviders.

File

src/ConfigLister.php, line 74

Class

ConfigLister
Provides methods related to config listing.

Namespace

Drupal\config_update

Code

public function __construct(EntityTypeManagerInterface $entity_manager, StorageInterface $active_config_storage, ExtensionInstallStorage $extension_config_storage, ExtensionInstallStorage $extension_optional_config_storage) {
  $this->entityManager = $entity_manager;
  $this->activeConfigStorage = $active_config_storage;
  $this->extensionConfigStorage = $extension_config_storage;
  $this->extensionOptionalConfigStorage = $extension_optional_config_storage;
}