function EntityViewBuilderInterface::getCacheTags

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php \Drupal\Core\Entity\EntityViewBuilderInterface::getCacheTags()
  2. 10 core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php \Drupal\Core\Entity\EntityViewBuilderInterface::getCacheTags()
  3. 11.x core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php \Drupal\Core\Entity\EntityViewBuilderInterface::getCacheTags()

The cache tag associated with this entity view builder.

An entity view builder is instantiated on a per-entity type basis, so the cache tags are also per-entity type.

Return value

array An array of cache tags.

1 method overrides EntityViewBuilderInterface::getCacheTags()
EntityViewBuilder::getCacheTags in core/lib/Drupal/Core/Entity/EntityViewBuilder.php
The cache tag associated with this entity view builder.

File

core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php, line 152

Class

EntityViewBuilderInterface
Defines an interface for entity view builders.

Namespace

Drupal\Core\Entity

Code

public function getCacheTags();

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