You are here

public function GroupContentTypeStorage::resetCache in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/Storage/GroupContentTypeStorage.php \Drupal\group\Entity\Storage\GroupContentTypeStorage::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 EntityStorageBase::resetCache

File

src/Entity/Storage/GroupContentTypeStorage.php, line 141

Class

GroupContentTypeStorage
Defines the storage handler class for group content type entities.

Namespace

Drupal\group\Entity\Storage

Code

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