public View::invalidateCaches()
Invalidates cache tags.
File
- core/modules/views/src/Entity/View.php, line 465
Class
- View
- Defines a View configuration entity class.
Namespace
Drupal\views\Entity
Code
public function invalidateCaches() { // Invalidate cache tags for cached rows. $tags = $this->getCacheTags(); \Drupal::service('cache_tags.invalidator')->invalidateTags($tags); }
Please login to continue.