You are here

public function GroupContentStorage::resetCache in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/Storage/GroupContentStorage.php \Drupal\group\Entity\Storage\GroupContentStorage::resetCache()

Resets the internal, static entity cache.

Parameters

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

Overrides ContentEntityStorageBase::resetCache

File

src/Entity/Storage/GroupContentStorage.php, line 145

Class

GroupContentStorage
Defines the storage handler class for group content entities.

Namespace

Drupal\group\Entity\Storage

Code

public function resetCache(array $ids = NULL) {
  parent::resetCache($ids);
  $this->loadByEntityCache = [];
}