W3cubDocs

/Drupal 8

interface QueueGarbageCollectionInterface

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

Hierarchy

See also

system_cron()

File

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

Namespace

Drupal\Core\Queue

Members

Name Modifiers Type Description
QueueGarbageCollectionInterface::garbageCollection public function Cleans queues of garbage.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Queue!QueueGarbageCollectionInterface.php/interface/QueueGarbageCollectionInterface/8.1.x