You are here

protected property CacheContextsManager::$contexts in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php \Drupal\Core\Cache\Context\CacheContextsManager::contexts

Available cache context IDs and corresponding labels.

Type: string[]

File

core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php, line 37

Class

CacheContextsManager
Converts cache context tokens into cache keys.

Namespace

Drupal\Core\Cache\Context

Code

protected $contexts;