
This project is not covered by Drupal’s security advisory policy.
Provides a PriorityQueue class that can be used to process higher priority items before lower priority items.
Usage:
// Ensure the PriorityQueue class is used for the 'test_queue' class.
variable_set('queue_class_test_queue', 'PriorityQueue');
$queue = DrupalQueue::get('test_queue');
$queue->createItem('LAST', -10);
$queue->createItem('FIRST', 10);
$queue->createItem('MIDDLE', 0);
// The items will be processed with 'FIRST' being first since it has the highest priority of 10, and 'LAST' being last since it has the lowest priority of -10.
Supporting organizations:
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Developer tools
- Created by dave reid on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.