CacheableDependencyTrait::$cacheContexts
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::cacheContexts
- 10 core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::cacheContexts
- 11.x core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::cacheContexts
Cache contexts.
Type: string[]
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheableDependencyTrait.php, line 15
Class
Namespace
Drupal\Core\CacheCode
protected $cacheContexts = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.