public function ConfigContext::__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/ConfigContext.php, line 58
Contains \Drupal\Core\Config\Context\ConfigContext.

Class

ConfigContext
Defines the base configuration context object.

Namespace

Drupal\Core\Config\Context

Code

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