You are here

public function ConfigDevelAutoExportSubscriber::__construct in Configuration development 8

Constructs the ConfigDevelAutoExportSubscriber object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.

\Drupal\Core\Config\ConfigManagerInterface $config_manager: The configuration manager.

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.

Overrides ConfigDevelSubscriberBase::__construct

File

src/EventSubscriber/ConfigDevelAutoExportSubscriber.php, line 42

Class

ConfigDevelAutoExportSubscriber
ConfigDevelAutoExportSubscriber subscriber for configuration CRUD events.

Namespace

Drupal\config_devel\EventSubscriber

Code

public function __construct(ConfigFactoryInterface $config_factory, ConfigManagerInterface $config_manager, EventDispatcherInterface $event_dispatcher) {
  parent::__construct($config_factory, $config_manager);
  $this->configFactory = $config_factory;
  $this->configManager = $config_manager;
  $this->eventDispatcher = $event_dispatcher;
}