ConfigSubscriber::setPathProcessorLanguage

public ConfigSubscriber::setPathProcessorLanguage(PathProcessorLanguage $path_processor_language)

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\EventSubscriber

Code

public function setPathProcessorLanguage(PathProcessorLanguage $path_processor_language) {
  $this->pathProcessorLanguage = $path_processor_language;
}
doc_Drupal
2016-10-29 08:54:32
Comments
Leave a Comment

Please login to continue.