Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Queue Order

186 sites Security covered Drupal 10–11
View on drupal.org

This module allows you to control the execution order of queue workers by assigning them a weight. This enables you to prioritize certain queue operations when they run via cron.

Get the additional advantage of Queue API of Drupal core.

πŸ‡ΊπŸ‡¦

This module is maintained by Ukrainian developers.
Please consider supporting Ukraine in a fight for their freedom and the safety of Europe.

This tiny module allows the control execution order of defined queue workers by the Cron handler.

It allows using weight value in QueueWorker annotation.

/**
 * Process a queue of media items to fetch their thumbnails.
 *
 * @QueueWorker(
 *   id = "custom_media_entity_thumbnail",
 *   title = @Translation("Custom thumbnail downloader"),
 *   cron = {"time" = 60},
 *   weight = -10
 * )
 */
class CustomThumbnailDownloader extends ThumbnailDownloader {}

To override the default weight value, use Queue UI module.

Drupal Core Feature request: #2975011: Implement QueueWorker annotation "weight" key

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Oct 2024
Latest release
8 months ago
Releases (12 mo)
1
Maintenance
Active

Releases

Version Type Core Release date
2.1.6 Stable 10–11 Dec 24, 2025
2.1.5 Stable 10–11 Oct 9, 2024