function HelpBlock::getCacheContexts
Overrides ContextAwarePluginTrait::getCacheContexts
File
- 
              core/
modules/ help/ src/ Plugin/ Block/ HelpBlock.php, line 108  
Class
- HelpBlock
 - Provides a 'Help' block.
 
Namespace
Drupal\help\Plugin\BlockCode
public function getCacheContexts() {
  return Cache::mergeContexts(parent::getCacheContexts(), [
    'route',
  ]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.