function ConfigModuleOverridesEvent::__construct
Constructs a configuration overrides event object.
Parameters
array $names: A list of configuration names.
\Drupal\Core\Language\LanguageInterface $language: (optional) The language for this configuration.
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigModuleOverridesEvent.php, line 43
Class
- ConfigModuleOverridesEvent
- Event object to allow configuration to be overridden by modules.
Namespace
Drupal\Core\ConfigCode
public function __construct(array $names, ?LanguageInterface $language = NULL) {
$this->names = $names;
$this->language = $language;
$this->overrides = [];
}