Deletes the container if default language has changed.
Hierarchy
- class \Drupal\language\EventSubscriber\ConfigSubscriber implements EventSubscriberInterface
File
- core/modules/language/src/EventSubscriber/ConfigSubscriber.php, line 19
Namespace
Drupal\language\EventSubscriber
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ConfigSubscriber::$configFactory | protected | property | The configuration factory. |
ConfigSubscriber::$languageDefault | protected | property | The default language. |
ConfigSubscriber::$languageManager | protected | property | The language manager. |
ConfigSubscriber::$languageNegotiator | protected | property | The language negotiator. |
ConfigSubscriber::$pathProcessorLanguage | protected | property | The language path processor. |
ConfigSubscriber::getSubscribedEvents | static | function | Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents |
ConfigSubscriber::onConfigSave | public | function | Causes the container to be rebuilt on the next request. |
ConfigSubscriber::setPathProcessorLanguage | public | function | Injects the language path processors on multilingual site configuration. |
ConfigSubscriber::__construct | public | function | Constructs a new class object. |
Please login to continue.