You are here

public function MetatagViewsCacheWrapper::getCacheTags in Metatag 8

Gets an array of cache tags for the current view.

Return value

string[] An array of cache tags based on the current view.

Overrides CachePluginBase::getCacheTags

File

metatag_views/src/MetatagViewsCacheWrapper.php, line 151

Class

MetatagViewsCacheWrapper
This class wraps a Views cache plugin.

Namespace

Drupal\metatag_views

Code

public function getCacheTags() {
  return $this->plugin
    ->getCacheTags();
}