function ConfigImportSubscriber::__construct

Same name in this branch
  1. 11.x core/modules/content_moderation/src/EventSubscriber/ConfigImportSubscriber.php \Drupal\content_moderation\EventSubscriber\ConfigImportSubscriber::__construct()
Same name in other branches
  1. 9 core/modules/content_moderation/src/EventSubscriber/ConfigImportSubscriber.php \Drupal\content_moderation\EventSubscriber\ConfigImportSubscriber::__construct()
  2. 9 core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php \Drupal\Core\EventSubscriber\ConfigImportSubscriber::__construct()
  3. 8.9.x core/modules/content_moderation/src/EventSubscriber/ConfigImportSubscriber.php \Drupal\content_moderation\EventSubscriber\ConfigImportSubscriber::__construct()
  4. 8.9.x core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php \Drupal\Core\EventSubscriber\ConfigImportSubscriber::__construct()
  5. 10 core/modules/content_moderation/src/EventSubscriber/ConfigImportSubscriber.php \Drupal\content_moderation\EventSubscriber\ConfigImportSubscriber::__construct()
  6. 10 core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php \Drupal\Core\EventSubscriber\ConfigImportSubscriber::__construct()

Constructs the ConfigImportSubscriber.

Parameters

\Drupal\Core\Extension\ThemeExtensionList $theme_extension_list: The theme extension list.

\Drupal\Core\Extension\ModuleExtensionList $extension_list_module: The module extension list.

\Traversable $uninstallValidators: The uninstall validator services.

File

core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php, line 52

Class

ConfigImportSubscriber
Config import subscriber for config import events.

Namespace

Drupal\Core\EventSubscriber

Code

public function __construct(ThemeExtensionList $theme_extension_list, ModuleExtensionList $extension_list_module, \Traversable $uninstallValidators) {
    $this->themeList = $theme_extension_list;
    $this->moduleExtensionList = $extension_list_module;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.