diff --git a/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php index a68c3c8c6c..b0b89a0f6f 100644 --- a/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php +++ b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php @@ -385,6 +385,16 @@ public function getCacheContexts() { /** * {@inheritdoc} */ + public function getCacheTags() { + $cache_tags = parent::getCacheTags(); + $vocabulary = $this->vocabularyStorage->load($this->options['vid']); + $cache_tags += $vocabulary->getCacheTags(); + return $cache_tags; + } + + /** + * {@inheritdoc} + */ public function calculateDependencies() { $dependencies = parent::calculateDependencies();