function UnchangingCacheableDependencyTrait::getCacheContexts
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php \Drupal\Core\Cache\UnchangingCacheableDependencyTrait::getCacheContexts()
- 8.9.x core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php \Drupal\Core\Cache\UnchangingCacheableDependencyTrait::getCacheContexts()
- 11.x core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php \Drupal\Core\Cache\UnchangingCacheableDependencyTrait::getCacheContexts()
1 method overrides UnchangingCacheableDependencyTrait::getCacheContexts()
- HelpTopicSection::getCacheContexts in core/
modules/ help/ src/ Plugin/ HelpSection/ HelpTopicSection.php
File
-
core/
lib/ Drupal/ Core/ Cache/ UnchangingCacheableDependencyTrait.php, line 15
Class
- UnchangingCacheableDependencyTrait
- Trait to implement CacheableDependencyInterface for unchanging objects.
Namespace
Drupal\Core\CacheCode
public function getCacheContexts() {
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.