public function GroupContentTypeStorage::resetCache in Group 2.0.x
Same name and namespace in other branches
- 8 src/Entity/Storage/GroupContentTypeStorage.php \Drupal\group\Entity\Storage\GroupContentTypeStorage::resetCache()
Resets the internal 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\StorageCode
public function resetCache(array $ids = NULL) {
parent::resetCache($ids);
$this->byEntityTypeCache = [];
}