function ViewUI::getCacheTagsToInvalidate

Same name and namespace in other branches
  1. 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::getCacheTagsToInvalidate()
  2. 8.9.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::getCacheTagsToInvalidate()
  3. 10 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

File

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

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

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

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