interface QueueGarbageCollectionInterface
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Queue/QueueGarbageCollectionInterface.php \Drupal\Core\Queue\QueueGarbageCollectionInterface
- 10 core/lib/Drupal/Core/Queue/QueueGarbageCollectionInterface.php \Drupal\Core\Queue\QueueGarbageCollectionInterface
- 11.x 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
1 file declares its use of QueueGarbageCollectionInterface
- system.module in core/
modules/ system/ system.module - Configuration system that lets administrators modify the workings of the site.
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
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
QueueGarbageCollectionInterface::garbageCollection | public | function | Cleans queues of garbage. | 1 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.