function EntityViewBuilderInterface::resetCache
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php \Drupal\Core\Entity\EntityViewBuilderInterface::resetCache()
- 8.9.x core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php \Drupal\Core\Entity\EntityViewBuilderInterface::resetCache()
- 11.x 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\EntityCode
public function resetCache(?array $entities = NULL);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.