public function EntityViewBuilderDecorator::resetCache in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Entity/EntityViewBuilderDecorator.php \Drupal\webprofiler\Entity\EntityViewBuilderDecorator::resetCache()
- 8.2 webprofiler/src/Entity/EntityViewBuilderDecorator.php \Drupal\webprofiler\Entity\EntityViewBuilderDecorator::resetCache()
- 4.x webprofiler/src/Entity/EntityViewBuilderDecorator.php \Drupal\webprofiler\Entity\EntityViewBuilderDecorator::resetCache()
Resets the entity render cache.
Parameters
\Drupal\Core\Entity\EntityInterface[] $entities: (optional) If specified, the cache is reset for the given entities only.
Overrides EntityViewBuilderInterface::resetCache
File
- webprofiler/
src/ Entity/ EntityViewBuilderDecorator.php, line 57
Class
- EntityViewBuilderDecorator
- Class EntityViewBuilderDecorator
Namespace
Drupal\webprofiler\EntityCode
public function resetCache(array $entities = NULL) {
$this
->getOriginalObject()
->resetCache($entities);
}