LocaleLookup::$cache

Same name in other branches
  1. 9 core/modules/locale/src/LocaleLookup.php \Drupal\locale\LocaleLookup::cache
  2. 8.9.x core/modules/locale/src/LocaleLookup.php \Drupal\locale\LocaleLookup::cache
  3. 11.x core/modules/locale/src/LocaleLookup.php \Drupal\locale\LocaleLookup::cache

The cache backend that should be used.

Type: \Drupal\Core\Cache\CacheBackendInterface

Overrides CacheCollector::$cache

File

core/modules/locale/src/LocaleLookup.php, line 44

Class

LocaleLookup
A cache collector to allow for dynamic building of the locale cache.

Namespace

Drupal\locale

Code

protected $cache;

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