public function CacheBackendMongodb::garbageCollection in MongoDB 8
Implements Drupal\Core\Cache\CacheBackendInterface::garbageCollection().
Performs garbage collection on a cache bin. The backend may choose to delete expired or invalidated items.
Overrides CacheBackendInterface::garbageCollection
1 call to CacheBackendMongodb::garbageCollection()
- CacheBackendMongodb::isEmpty in src/
CacheBackendMongodb.php - Implements Drupal\Core\Cache\CacheBackendInterface::isEmpty().
File
- src/
CacheBackendMongodb.php, line 259 - Definition of Drupal\mongodb/CacheBackendMongodb.
Class
- CacheBackendMongodb
- Defines MongoDB cache implementation.
Namespace
Drupal\mongodbCode
public function garbageCollection() {
$this
->expire();
}