CacheCollector::$cacheLoaded

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::cacheLoaded
  2. 10 core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::cacheLoaded
  3. 11.x core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::cacheLoaded

Indicates if the collected cache was already loaded.

The collected cache is lazy loaded when an entry is set, get or deleted.

Type: bool

File

core/lib/Drupal/Core/Cache/CacheCollector.php, line 100

Class

CacheCollector
Default implementation for CacheCollectorInterface.

Namespace

Drupal\Core\Cache

Code

protected $cacheLoaded = FALSE;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.