FinishResponseSubscriber::$languageManager

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php \Drupal\Core\EventSubscriber\FinishResponseSubscriber::languageManager
  2. 10 core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php \Drupal\Core\EventSubscriber\FinishResponseSubscriber::languageManager

The language manager object for retrieving the correct language code.

Type: \Drupal\Core\Language\LanguageManagerInterface

File

core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php, line 29

Class

FinishResponseSubscriber
Response subscriber to handle finished responses.

Namespace

Drupal\Core\EventSubscriber

Code

protected $languageManager;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.