You are here

interface QueueGarbageCollectionInterface in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Queue/QueueGarbageCollectionInterface.php \Drupal\Core\Queue\QueueGarbageCollectionInterface
  2. 10 core/lib/Drupal/Core/Queue/QueueGarbageCollectionInterface.php \Drupal\Core\Queue\QueueGarbageCollectionInterface

If the Drupal 'queue' service implements this interface, the garbageCollection() method will be called during cron.

Hierarchy

Expanded class hierarchy of QueueGarbageCollectionInterface

All classes that implement QueueGarbageCollectionInterface

See also

system_cron()

1 file declares its use of QueueGarbageCollectionInterface
system.module in core/modules/system/system.module
Configuration system that lets administrators modify the workings of the site.

File

core/lib/Drupal/Core/Queue/QueueGarbageCollectionInterface.php, line 11

Namespace

Drupal\Core\Queue
View source
interface QueueGarbageCollectionInterface {

  /**
   * Cleans queues of garbage.
   */
  public function garbageCollection();

}

Members