PathProcessorLanguage::initConfigSubscriber

public PathProcessorLanguage::initConfigSubscriber()

Initializes the injected event subscriber with the language path processor.

The language path processor service is registered only on multilingual site configuration, thus we inject it in the event subscriber only when it is initialized.

File

core/modules/language/src/HttpKernel/PathProcessorLanguage.php, line 169

Class

PathProcessorLanguage
Processes the inbound path using path alias lookups.

Namespace

Drupal\language\HttpKernel

Code

public function initConfigSubscriber() {
  $this->configSubscriber->setPathProcessorLanguage($this);
}
doc_Drupal
2016-10-29 09:33:31
Comments
Leave a Comment

Please login to continue.