CurrentLanguageContext::$languageManager

Same name in other branches
  1. 9 core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php \Drupal\Core\Language\ContextProvider\CurrentLanguageContext::languageManager
  2. 10 core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php \Drupal\Core\Language\ContextProvider\CurrentLanguageContext::languageManager
  3. 11.x core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php \Drupal\Core\Language\ContextProvider\CurrentLanguageContext::languageManager

The language manager.

Type: \Drupal\Core\Language\LanguageManagerInterface

File

core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php, line 24

Class

CurrentLanguageContext
Sets the current language as a context.

Namespace

Drupal\Core\Language\ContextProvider

Code

protected $languageManager;

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