interface QueueGarbageCollectionInterface
If the Drupal 'queue' service implements this interface, the garbageCollection() method will be called during cron.
Hierarchy
- interface \Drupal\Core\Queue\QueueGarbageCollectionInterface
See also
File
- core/lib/Drupal/Core/Queue/QueueGarbageCollectionInterface.php, line 11
Namespace
Drupal\Core\QueueMembers
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