public function ConfigEvent::__construct

Constructs a configuration event object.

Parameters

\Drupal\Core\Config\Context\ContextInterface: Configuration context object.

\Drupal\Core\Config\Config: (optional) Configuration object.

File

drupal/core/lib/Drupal/Core/Config/ConfigEvent.php, line 32

Class

ConfigEvent

Namespace

Drupal\Core\Config

Code

public function __construct(ContextInterface $context, Config $config = NULL) {
  $this->config = $config;
  $this->context = $context;
}