LanguagesCacheContext::$languageManager

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php \Drupal\Core\Cache\Context\LanguagesCacheContext::languageManager
  2. 10 core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php \Drupal\Core\Cache\Context\LanguagesCacheContext::languageManager
  3. 11.x core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php \Drupal\Core\Cache\Context\LanguagesCacheContext::languageManager

The language manager.

Type: \Drupal\Core\Language\LanguageManagerInterface

File

core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php, line 18

Class

LanguagesCacheContext
Defines the LanguagesCacheContext service, for "per language" caching.

Namespace

Drupal\Core\Cache\Context

Code

protected $languageManager;

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