You are here

public function ConfigListerWithProviders::__construct in Configuration Update Manager 8

Constructs a ConfigListerWithProviders.

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.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.

Overrides ConfigLister::__construct

File

src/ConfigListerWithProviders.php, line 70

Class

ConfigListerWithProviders
Provides methods related to config listing, including provider calculation.

Namespace

Drupal\config_update

Code

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