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