CacheCollector::$loadedData
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::loadedData
The cache item's data as loaded during this request, or NULL if none.
Retained so that ::updateCache() can fingerprint it to detect a concurrent change. The fingerprint is computed lazily there, and only when there is data to write back, so that requests that only read from the collector do not pay for hashing.
Type: loadedData
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheCollector.php, line 83
Class
- CacheCollector
- Default implementation for CacheCollectorInterface.
Namespace
Drupal\Core\CacheCode
protected ?array $loadedData = NULL;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.