You are here

public function ConfigIgnoreEventSubscriber::__construct in Config Ignore 8.3

Constructs a new event subscriber instance.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.

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

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

\Drupal\Core\Config\StorageInterface $sync_storage: The sync config storage.

File

src/EventSubscriber/ConfigIgnoreEventSubscriber.php, line 71

Class

ConfigIgnoreEventSubscriber
Makes the import/export aware of ignored configs.

Namespace

Drupal\config_ignore\EventSubscriber

Code

public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, StorageInterface $config_storage, StorageInterface $sync_storage) {
  $this->configFactory = $config_factory;
  $this->moduleHandler = $module_handler;
  $this->activeStorage = $config_storage;
  $this->syncStorage = $sync_storage;
}