Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityViewBuilderInterface.php

function 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\Entity

Code

public function resetCache(?array $entities = NULL);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal