W3cubDocs

/Drupal 8

public function EntityViewBuilderInterface::getCacheTags

public 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.

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();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityViewBuilderInterface.php/function/EntityViewBuilderInterface::getCacheTags/8.1.x