function ViewsBlockBase::getCacheTags
Overrides ContextAwarePluginTrait::getCacheTags
File
-
core/
modules/ views/ src/ Plugin/ Block/ ViewsBlockBase.php, line 101
Class
- ViewsBlockBase
- Base class for Views block plugins.
Namespace
Drupal\views\Plugin\BlockCode
public function getCacheTags() {
$tags = $this->view->display_handler
->getCacheMetadata()
->getCacheTags();
return Cache::mergeTags(parent::getCacheTags(), $tags);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.