W3cubDocs

/Drupal 8

public function EntityViewBuilderInterface::resetCache

public EntityViewBuilderInterface::resetCache(array $entities = NULL)

Resets the entity render cache.

Parameters

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

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

© 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::resetCache/8.1.x