You are here

public function ExcludedModulesEventSubscriber::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/EventSubscriber/ExcludedModulesEventSubscriber.php \Drupal\Core\EventSubscriber\ExcludedModulesEventSubscriber::__construct()

EnvironmentModulesEventSubscriber constructor.

Parameters

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

\Drupal\Core\Site\Settings $settings: The Drupal settings.

\Drupal\Core\Config\ConfigManagerInterface $manager: The config manager.

File

core/lib/Drupal/Core/EventSubscriber/ExcludedModulesEventSubscriber.php, line 48

Class

ExcludedModulesEventSubscriber
The event subscriber preventing excluded modules to be exported.

Namespace

Drupal\Core\EventSubscriber

Code

public function __construct(StorageInterface $active_storage, Settings $settings, ConfigManagerInterface $manager) {
  $this->activeStorage = $active_storage;
  $this->settings = $settings;
  $this->manager = $manager;
}