You are here

public function PanelizerEntityViewBuilder::resetCache in Panelizer 8.4

Same name and namespace in other branches
  1. 8.5 src/PanelizerEntityViewBuilder.php \Drupal\panelizer\PanelizerEntityViewBuilder::resetCache()
  2. 8.3 src/PanelizerEntityViewBuilder.php \Drupal\panelizer\PanelizerEntityViewBuilder::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

src/PanelizerEntityViewBuilder.php, line 309

Class

PanelizerEntityViewBuilder
Entity view builder for entities that can be panelized.

Namespace

Drupal\panelizer

Code

public function resetCache(array $entities = NULL) {
  $this
    ->getFallbackViewBuilder()
    ->resetCache($entities);
}