You are here

public function EntityViewBuilderDecorator::getCacheTags in Devel 8.3

Same name and namespace in other branches
  1. 8 webprofiler/src/Entity/EntityViewBuilderDecorator.php \Drupal\webprofiler\Entity\EntityViewBuilderDecorator::getCacheTags()
  2. 8.2 webprofiler/src/Entity/EntityViewBuilderDecorator.php \Drupal\webprofiler\Entity\EntityViewBuilderDecorator::getCacheTags()
  3. 4.x webprofiler/src/Entity/EntityViewBuilderDecorator.php \Drupal\webprofiler\Entity\EntityViewBuilderDecorator::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.

Overrides EntityViewBuilderInterface::getCacheTags

File

webprofiler/src/Entity/EntityViewBuilderDecorator.php, line 78

Class

EntityViewBuilderDecorator
Class EntityViewBuilderDecorator.

Namespace

Drupal\webprofiler\Entity

Code

public function getCacheTags() {
  return $this
    ->getOriginalObject()
    ->getCacheTags();
}