You are here

protected property CacheableDependencyTrait::$cacheContexts in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::cacheContexts
  2. 10 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

CacheableDependencyTrait
Trait for \Drupal\Core\Cache\CacheableDependencyInterface.

Namespace

Drupal\Core\Cache

Code

protected $cacheContexts = [];