public function ConfigContextFactory::__construct

Constructs the configuration context.

Parameters

\Symfony\Component\EventDispatcher\EventDispatcher $event_dispatcher: An event dispatcher instance to use for configuration events.

File

drupal/core/lib/Drupal/Core/Config/Context/ConfigContextFactory.php, line 36
Contains \Drupal\Core\Config\Context\ConfigContextFactory.

Class

ConfigContextFactory
Defines configuration context factory.

Namespace

Drupal\Core\Config\Context

Code

public function __construct(EventDispatcher $event_dispatcher) {
  $this->eventDispatcher = $event_dispatcher;
}