You are here

final public function EntityCache::allEntitiesInCache in Apigee Edge 8

Changes whether all entities in the cache or not.

Parameters

bool $all_entities_in_cache: State to be set.

Overrides EntityCacheInterface::allEntitiesInCache

File

src/Entity/Controller/Cache/EntityCache.php, line 159

Class

EntityCache
Default entity cache implementation for controllers.

Namespace

Drupal\apigee_edge\Entity\Controller\Cache

Code

public final function allEntitiesInCache(bool $all_entities_in_cache) : void {
  $this->allEntitiesInCache = $all_entities_in_cache;
  $this->entityIdCache
    ->allIdsInCache($all_entities_in_cache);
}