CacheContextsManager::$validContextTokens
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php \Drupal\Core\Cache\Context\CacheContextsManager::validContextTokens
- 11.x core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php \Drupal\Core\Cache\Context\CacheContextsManager::validContextTokens
The set of valid context tokens.
Type: validContextTokens
File
-
core/
lib/ Drupal/ Core/ Cache/ Context/ CacheContextsManager.php, line 42
Class
- CacheContextsManager
- Converts cache context tokens into cache keys.
Namespace
Drupal\Core\Cache\ContextCode
protected array $validContextTokens;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.