You are here

public function LanguageRequestSubscriber::onContainerInitializeSubrequestFinished in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php \Drupal\language\EventSubscriber\LanguageRequestSubscriber::onContainerInitializeSubrequestFinished()
  2. 10 core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php \Drupal\language\EventSubscriber\LanguageRequestSubscriber::onContainerInitializeSubrequestFinished()

Initializes config overrides whenever the service container is rebuilt.

File

core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php, line 81

Class

LanguageRequestSubscriber
Sets the $request property on the language manager.

Namespace

Drupal\language\EventSubscriber

Code

public function onContainerInitializeSubrequestFinished() {
  $this
    ->setLanguageOverrides();
}