function 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\EntityCode
public function getCacheTags();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.