function EntityStorageInterface::resetCache

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::resetCache()
  2. 10 core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::resetCache()
  3. 11.x core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::resetCache()

Resets the internal, static entity cache.

Parameters

$ids: (optional) If specified, the cache is reset for the entities with the given ids only.

1 method overrides EntityStorageInterface::resetCache()
EntityStorageBase::resetCache in core/lib/Drupal/Core/Entity/EntityStorageBase.php
Resets the internal, static entity cache.

File

core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 35

Class

EntityStorageInterface
Defines the interface for entity storage classes.

Namespace

Drupal\Core\Entity

Code

public function resetCache(array $ids = NULL);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.