public function RefinableCacheableDependencyTrait::getCacheContexts in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php \Drupal\Core\Cache\RefinableCacheableDependencyTrait::getCacheContexts()
4 methods override RefinableCacheableDependencyTrait::getCacheContexts()
- AccessResult::getCacheContexts in core/
lib/ Drupal/ Core/ Access/ AccessResult.php - The cache contexts associated with this object.
- CacheableMetadata::getCacheContexts in core/
lib/ Drupal/ Core/ Cache/ CacheableMetadata.php - The cache contexts associated with this object.
- ConfigBase::getCacheContexts in core/
lib/ Drupal/ Core/ Config/ ConfigBase.php - The cache contexts associated with this object.
- Entity::getCacheContexts in core/
lib/ Drupal/ Core/ Entity/ Entity.php - The cache contexts associated with this object.
File
- core/
lib/ Drupal/ Core/ Cache/ RefinableCacheableDependencyTrait.php, line 46 - Contains \Drupal\Core\Cache\RefinableCacheableDependencyTrait.
Class
- RefinableCacheableDependencyTrait
- Trait for \Drupal\Core\Cache\RefinableCacheableDependencyInterface.
Namespace
Drupal\Core\CacheCode
public function getCacheContexts() {
return $this->cacheContexts;
}