You are here

public function ConfigSubscriber::setPathProcessorLanguage in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 141
Contains \Drupal\language\EventSubscriber\ConfigSubscriber.

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;
}