You are here

public function QueueGarbageCollectionInterface::garbageCollection in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Queue/QueueGarbageCollectionInterface.php \Drupal\Core\Queue\QueueGarbageCollectionInterface::garbageCollection()
  2. 9 core/lib/Drupal/Core/Queue/QueueGarbageCollectionInterface.php \Drupal\Core\Queue\QueueGarbageCollectionInterface::garbageCollection()

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\Queue

Code

public function garbageCollection();