You are here

public function LanguageConfigFactoryOverride::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/language/src/Config/LanguageConfigFactoryOverride.php \Drupal\language\Config\LanguageConfigFactoryOverride::__construct()

Constructs the LanguageConfigFactoryOverride object.

Parameters

\Drupal\Core\Config\StorageInterface $storage: The configuration storage engine.

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: An event dispatcher instance to use for configuration events.

\Drupal\Core\Config\TypedConfigManagerInterface $typed_config: The typed configuration manager.

File

core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 77
Contains \Drupal\language\Config\LanguageConfigFactoryOverride.

Class

LanguageConfigFactoryOverride
Provides language overrides for the configuration factory.

Namespace

Drupal\language\Config

Code

public function __construct(StorageInterface $storage, EventDispatcherInterface $event_dispatcher, TypedConfigManagerInterface $typed_config) {
  $this->baseStorage = $storage;
  $this->eventDispatcher = $event_dispatcher;
  $this->typedConfigManager = $typed_config;
}