function QueueGarbageCollectionInterface::garbageCollection
Same name in other branches
- 9 core/lib/Drupal/Core/Queue/QueueGarbageCollectionInterface.php \Drupal\Core\Queue\QueueGarbageCollectionInterface::garbageCollection()
- 10 core/lib/Drupal/Core/Queue/QueueGarbageCollectionInterface.php \Drupal\Core\Queue\QueueGarbageCollectionInterface::garbageCollection()
- 11.x core/lib/Drupal/Core/Queue/QueueGarbageCollectionInterface.php \Drupal\Core\Queue\QueueGarbageCollectionInterface::garbageCollection()
Cleans queues of garbage.
1 method overrides QueueGarbageCollectionInterface::garbageCollection()
- DatabaseQueue::garbageCollection in core/
lib/ Drupal/ Core/ Queue/ DatabaseQueue.php - Cleans queues of garbage.
File
-
core/
lib/ Drupal/ Core/ Queue/ QueueGarbageCollectionInterface.php, line 16
Class
- QueueGarbageCollectionInterface
- If the Drupal 'queue' service implements this interface, the garbageCollection() method will be called during cron.
Namespace
Drupal\Core\QueueCode
public function garbageCollection();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.