function ViewUI::addCacheTags

Adds cache tags.

Parameters

string[] $cache_tags: The cache tags to be added.

Return value

$this

Overrides RefinableCacheableDependencyInterface::addCacheTags

File

core/modules/views_ui/src/ViewUI.php, line 1341

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function addCacheTags(array $cache_tags) {
  return $this->storage
    ->addCacheTags($cache_tags);
}

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