You are here

public function CheckedEntityCache::clear in Permissions by Term 8.2

Same name and namespace in other branches
  1. 8 modules/permissions_by_entity/src/Service/CheckedEntityCache.php \Drupal\permissions_by_entity\Service\CheckedEntityCache::clear()

Clears the cache.

All cached fieldable entities will be removed irretrievably from the cache.

File

modules/permissions_by_entity/src/Service/CheckedEntityCache.php, line 55

Class

CheckedEntityCache
Class CheckedEntityCache.

Namespace

Drupal\permissions_by_entity\Service

Code

public function clear() {
  $this->entities = [];
}