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

Breadcrumb

  1. Drupal Core 11.1.x
  2. QueueGarbageCollectionInterface.php

interface QueueGarbageCollectionInterface

Queue garbage collection interface.

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

Hierarchy

  • interface \Drupal\Core\Queue\QueueGarbageCollectionInterface

Expanded class hierarchy of QueueGarbageCollectionInterface

All classes that implement QueueGarbageCollectionInterface

See also

system_cron()

1 file declares its use of QueueGarbageCollectionInterface
SystemHooks.php in core/modules/system/src/Hook/SystemHooks.php

File

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

Namespace

Drupal\Core\Queue
View source
interface QueueGarbageCollectionInterface {
    
    /**
     * Cleans queues of garbage.
     */
    public function garbageCollection();

}

Members

Title Sort descending Modifiers Object type Summary Overrides
QueueGarbageCollectionInterface::garbageCollection public function Cleans queues of garbage. 1

API Navigation

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