public function CacheBackendInterface::garbageCollection in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::garbageCollection()
- 9 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()
- MemoryBackend::garbageCollection in core/
lib/ Drupal/ Core/ Cache/ MemoryBackend.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();