1. 8.2.x core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php RefinableCacheableDependencyTrait::cacheContexts
  2. 8.0.x core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php RefinableCacheableDependencyTrait::cacheContexts
  3. 8.1.x core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php RefinableCacheableDependencyTrait::cacheContexts
  4. 8.3.x core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php RefinableCacheableDependencyTrait::cacheContexts

Cache contexts.

Type: string[]

File

core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php, line 15

Class

RefinableCacheableDependencyTrait
Trait for \Drupal\Core\Cache\RefinableCacheableDependencyInterface.

Namespace

Drupal\Core\Cache

Code

protected $cacheContexts = [];