function CacheBackendInterface::garbageCollection
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::garbageCollection()
- 10 core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::garbageCollection()
- 8.9.x core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::garbageCollection()
Performs garbage collection on a cache bin.
The backend may choose to delete expired or invalidated items.
1 method overrides CacheBackendInterface::garbageCollection()
- PhpBackend::garbageCollection in core/
lib/ Drupal/ Core/ Cache/ PhpBackend.php - Performs garbage collection on a cache bin.
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheBackendInterface.php, line 212
Class
- CacheBackendInterface
- Defines an interface for cache implementations.
Namespace
Drupal\Core\CacheCode
public function garbageCollection();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.