Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

QueueGarbageCollectionInterface.php

Namespace

Drupal\Core\Queue

File

core/lib/Drupal/Core/Queue/QueueGarbageCollectionInterface.php

View source
<?php

namespace Drupal\Core\Queue;


/**
 * Queue garbage collection interface.
 *
 * If the Drupal 'queue' service implements this interface, the
 * garbageCollection() method will be called during cron.
 *
 * @see system_cron()
 */
interface QueueGarbageCollectionInterface {
    
    /**
     * Cleans queues of garbage.
     */
    public function garbageCollection();

}

Interfaces

Title Deprecated Summary
QueueGarbageCollectionInterface Queue garbage collection interface.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal