You are here

public function EntityViewBuilderDecorator::resetCache in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/EntityViewBuilderDecorator.php \Drupal\webprofiler\Entity\EntityViewBuilderDecorator::resetCache()
  2. 8.2 webprofiler/src/Entity/EntityViewBuilderDecorator.php \Drupal\webprofiler\Entity\EntityViewBuilderDecorator::resetCache()
  3. 4.x webprofiler/src/Entity/EntityViewBuilderDecorator.php \Drupal\webprofiler\Entity\EntityViewBuilderDecorator::resetCache()

Resets the entity render cache.

Parameters

\Drupal\Core\Entity\EntityInterface[] $entities: (optional) If specified, the cache is reset for the given entities only.

Overrides EntityViewBuilderInterface::resetCache

File

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

Class

EntityViewBuilderDecorator
Class EntityViewBuilderDecorator

Namespace

Drupal\webprofiler\Entity

Code

public function resetCache(array $entities = NULL) {
  $this
    ->getOriginalObject()
    ->resetCache($entities);
}