You are here

public function ConfigModuleOverridesEvent::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Config/ConfigModuleOverridesEvent.php \Drupal\Core\Config\ConfigModuleOverridesEvent::__construct()

Constructs a configuration overrides event object.

Parameters

array $names: A list of configuration names.

\Drupal\Core\Language\LanguageInterface: (optional) The language for this configuration.

File

core/lib/Drupal/Core/Config/ConfigModuleOverridesEvent.php, line 48
Contains \Drupal\Core\Config\ConfigModuleOverridesEvent.

Class

ConfigModuleOverridesEvent
Event object to allow configuration to be overridden by modules.

Namespace

Drupal\Core\Config

Code

public function __construct(array $names, LanguageInterface $language = NULL) {
  $this->names = $names;
  $this->language = $language;
  $this->overrides = array();
}