Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LanguageConfigOverride.php

function 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\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.

File

core/modules/language/src/Config/LanguageConfigOverride.php, line 40

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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal