class LocaleConfigSubscriber

Locale Config helper

$config is always a DrupalConfig object.

Hierarchy

Expanded class hierarchy of LocaleConfigSubscriber

1 string reference to 'LocaleConfigSubscriber'
1 service uses LocaleConfigSubscriber

File

drupal/core/modules/locale/lib/Drupal/locale/LocaleConfigSubscriber.php, line 27
Contains \Drupal\locale\LocaleConfigSubscriber.

Namespace

Drupal\locale
View source

Members

Namesort descending Modifiers Type Description Overrides
LocaleConfigSubscriber::$defaultConfigContext protected property Default configuration context.
LocaleConfigSubscriber::$languageManager protected property The language manager.
LocaleConfigSubscriber::configContext public function Initializes configuration context with language.
LocaleConfigSubscriber::configLoad public function Override configuration values with localized data.
LocaleConfigSubscriber::getLocaleConfigName public function Get configuration name for this language.
LocaleConfigSubscriber::getSubscribedEvents static function Implements EventSubscriberInterface::getSubscribedEvents(). Overrides EventSubscriberInterface::getSubscribedEvents
LocaleConfigSubscriber::onKernelRequestSetDefaultConfigContextLocale public function Sets the negotiated interface language on the default configuration context.
LocaleConfigSubscriber::__construct public function Constructs a LocaleConfigSubscriber object.