LanguageConfigOverride::__construct

public LanguageConfigOverride::__construct($name, StorageInterface $storage, TypedConfigManagerInterface $typed_config, EventDispatcherInterface $event_dispatcher)

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\Config

Code

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;
}
doc_Drupal
2016-10-29 09:22:13
Comments
Leave a Comment

Please login to continue.