function ConfigSubscriber::setPathProcessorLanguage
Same name in other branches
- 9 core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::setPathProcessorLanguage()
- 10 core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::setPathProcessorLanguage()
- 11.x core/modules/language/src/EventSubscriber/ConfigSubscriber.php \Drupal\language\EventSubscriber\ConfigSubscriber::setPathProcessorLanguage()
Injects the language path processors on multilingual site configuration.
Parameters
\Drupal\language\HttpKernel\PathProcessorLanguage $path_processor_language: The language path processor.
File
-
core/
modules/ language/ src/ EventSubscriber/ ConfigSubscriber.php, line 136
Class
- ConfigSubscriber
- Deletes the container if default language has changed.
Namespace
Drupal\language\EventSubscriberCode
public function setPathProcessorLanguage(PathProcessorLanguage $path_processor_language) {
$this->pathProcessorLanguage = $path_processor_language;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.