CacheCollector::$keysToPersist
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::keysToPersist
- 10 core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::keysToPersist
- 11.x core/lib/Drupal/Core/Cache/CacheCollector.php \Drupal\Core\Cache\CacheCollector::keysToPersist
An array of keys to add to the cache on service termination.
Type: array
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheCollector.php, line 60
Class
- CacheCollector
- Default implementation for CacheCollectorInterface.
Namespace
Drupal\Core\CacheCode
protected $keysToPersist = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.