Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/Queue/QueueGarbageCollectionInterface.php \Drupal\Core\Queue\QueueGarbageCollectionInterface
- 9 core/lib/Drupal/Core/Queue/QueueGarbageCollectionInterface.php \Drupal\Core\Queue\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()
File
- core/
lib/ Drupal/ Core/ Queue/ QueueGarbageCollectionInterface.php, line 13
Namespace
Drupal\Core\QueueView source
interface QueueGarbageCollectionInterface {
/**
* Cleans queues of garbage.
*/
public function garbageCollection();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
QueueGarbageCollectionInterface:: |
public | function | Cleans queues of garbage. | 1 |