public function LanguageConfigOverride::__construct in Drupal 8
Same name and namespace 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()
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;
}