You are here

public function ViewUI::getCacheTagsToInvalidate in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::getCacheTagsToInvalidate()

Returns the cache tags that should be used to invalidate caches.

This will not return additional cache tags added through addCacheTags().

Return value

string[] Set of cache tags.

Overrides EntityInterface::getCacheTagsToInvalidate

See also

\Drupal\Core\Cache\RefinableCacheableDependencyInterface::addCacheTags()

\Drupal\Core\Cache\CacheableDependencyInterface::getCacheTags()

File

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

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function getCacheTagsToInvalidate() {
  return $this->storage
    ->getCacheTagsToInvalidate();
}