function RendererBase::getCacheTags

Same name and namespace in other branches
  1. 9 core/modules/views/src/Entity/Render/RendererBase.php \Drupal\views\Entity\Render\RendererBase::getCacheTags()
  2. 8.9.x core/modules/views/src/Entity/Render/RendererBase.php \Drupal\views\Entity\Render\RendererBase::getCacheTags()
  3. 10 core/modules/views/src/Entity/Render/RendererBase.php \Drupal\views\Entity\Render\RendererBase::getCacheTags()

The cache tags associated with this object.

When this object is modified, these cache tags will be invalidated.

Return value

list<string> A set of cache tags.

Overrides CacheableDependencyInterface::getCacheTags

File

core/modules/views/src/Entity/Render/RendererBase.php, line 79

Class

RendererBase
Defines a base class for entity renderers.

Namespace

Drupal\views\Entity\Render

Code

public function getCacheTags() {
  return [];
}

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