function Tid::getCacheContexts

Same name in other branches
  1. 9 core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php \Drupal\taxonomy\Plugin\views\argument_default\Tid::getCacheContexts()
  2. 8.9.x core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php \Drupal\taxonomy\Plugin\views\argument_default\Tid::getCacheContexts()
  3. 11.x core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php \Drupal\taxonomy\Plugin\views\argument_default\Tid::getCacheContexts()

Overrides CacheableDependencyInterface::getCacheContexts

File

core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php, line 223

Class

Tid
Taxonomy tid default argument.

Namespace

Drupal\taxonomy\Plugin\views\argument_default

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.