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