public function HelpBlock::getCacheContexts in Drupal 9
Same name and namespace in other branches
- 8 core/modules/help/src/Plugin/Block/HelpBlock.php \Drupal\help\Plugin\Block\HelpBlock::getCacheContexts()
Overrides ContextAwarePluginTrait::getCacheContexts
File
- core/
modules/ help/ src/ Plugin/ Block/ HelpBlock.php, line 114
Class
- HelpBlock
- Provides a 'Help' block.
Namespace
Drupal\help\Plugin\BlockCode
public function getCacheContexts() {
return Cache::mergeContexts(parent::getCacheContexts(), [
'route',
]);
}