function LanguageConfigOverride::__construct
Same name in other branches
- 9 core/modules/language/src/Config/LanguageConfigOverride.php \Drupal\language\Config\LanguageConfigOverride::__construct()
- 10 core/modules/language/src/Config/LanguageConfigOverride.php \Drupal\language\Config\LanguageConfigOverride::__construct()
- 11.x core/modules/language/src/Config/LanguageConfigOverride.php \Drupal\language\Config\LanguageConfigOverride::__construct()
Constructs a language override object.
Parameters
string $name: The name of the configuration object being overridden.
\Drupal\Core\Config\StorageInterface $storage: A storage controller object to use for reading and writing the configuration override.
\Drupal\Core\Config\TypedConfigManagerInterface $typed_config: The typed configuration manager service.
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.
File
-
core/
modules/ language/ src/ Config/ LanguageConfigOverride.php, line 38
Class
- LanguageConfigOverride
- Defines language configuration overrides.
Namespace
Drupal\language\ConfigCode
public function __construct($name, StorageInterface $storage, TypedConfigManagerInterface $typed_config, EventDispatcherInterface $event_dispatcher) {
$this->name = $name;
$this->storage = $storage;
$this->typedConfigManager = $typed_config;
$this->eventDispatcher = $event_dispatcher;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.