You are here

public function EntityViewBuilderInterface::resetCache in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php \Drupal\Core\Entity\EntityViewBuilderInterface::resetCache()
  2. 10 core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php \Drupal\Core\Entity\EntityViewBuilderInterface::resetCache()

Resets the entity render cache.

Parameters

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

1 method overrides EntityViewBuilderInterface::resetCache()
EntityViewBuilder::resetCache in core/lib/Drupal/Core/Entity/EntityViewBuilder.php
Resets the entity render cache.

File

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

Class

EntityViewBuilderInterface
Defines an interface for entity view builders.

Namespace

Drupal\Core\Entity

Code

public function resetCache(array $entities = NULL);