You are here

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\Block

Code

public function getCacheContexts() {
  return Cache::mergeContexts(parent::getCacheContexts(), [
    'route',
  ]);
}