public function UnchangingCacheableDependencyTrait::getCacheContexts in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php \Drupal\Core\Cache\UnchangingCacheableDependencyTrait::getCacheContexts()
1 method overrides UnchangingCacheableDependencyTrait::getCacheContexts()
- HelpTopicSection::getCacheContexts in core/
modules/ help_topics/ 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 [];
}