public function EntityViewBuilderInterface::resetCache in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php \Drupal\Core\Entity\EntityViewBuilderInterface::resetCache()
- 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\EntityCode
public function resetCache(array $entities = NULL);