public function FlippyBlock::getCacheContexts in Flippy 8
Implements \Drupal\Core\Entity\Entity::getCacheContexts().
Overrides ContextAwarePluginBase::getCacheContexts
File
- src/
Plugin/ Block/ FlippyBlock.php, line 139
Class
- FlippyBlock
- Provides a "Flippy" block.
Namespace
Drupal\flippy\Plugin\BlockCode
public function getCacheContexts() {
return Cache::mergeContexts(parent::getCacheContexts(), [
'route',
]);
}