You are here

public function GSESearchFormBlock::getCacheContexts in Simple Google Custom Search Engine 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/Block/GSESearchFormBlock.php \Drupal\simple_gse_search\Plugin\Block\GSESearchFormBlock::getCacheContexts()

Overrides ContextAwarePluginTrait::getCacheContexts

File

src/Plugin/Block/GSESearchFormBlock.php, line 66

Class

GSESearchFormBlock
Provides an 'Google CSE Search' block.

Namespace

Drupal\simple_gse_search\Plugin\Block

Code

public function getCacheContexts() {
  return [
    'url',
  ];
}