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\ContextCode
protected $contexts;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.