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). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module provides hooks that allow developers to interact with and modify queue operations at various stages, such as before an item is created, when an item is claimed, or when a queue is emptied. This enables custom logic to be applied to Drupal's queue system.

This module provides hooks that are invoked at various points in the queue lifecycle.

Requirements

This module requires no modules outside of Drupal core.

Configuration

  1. Enable the module at Administration > Extend.
  2. Implement any of the hooks provided by the module in your custom modules.

Hooks

Every hook has a generic version that has the queue name passed as argument, and a queue-specific version where the queue name is part of the hook name. Please refer to queue_hooks.api.php for a full overview of available hooks.

Hook Description hook_queue_item_pre_create(object $item) Respond to an item about to be created in a queue. hook_queue_item_pre_create_alter(object &$item) Alter an item about to be created in a queue. hook_queue_item_create(object $item) Respond to an item being created in a queue. hook_queue_number_of_items_alter(int &$count) Alter the number of items reported in a queue. hook_queue_lease_time_alter(int &$lease_time) Alter the lease time when claiming an item from a queue. hook_queue_item_claimed(object $item) Respond to an item being claimed from a queue. hook_queue_item_release(object $item) Respond to an item being released back to a queue. hook_queue_delay_time_alter(int &$delay_time) Alter the delay time when releasing an item back to a queue. hook_queue_item_delay(object $item) Respond to an item being delayed in a queue. hook_queue_item_delete(object $item) Respond to an item being deleted from a queue. hook_queue_empty() Respond to a queue being emptied. hook_queue_create() Respond to a queue being created. hook_queue_delete() Respond to a queue being deleted. hook_queue_garbage_collection() Respond to garbage collection being run on a queue.

Supporting this Module

You can buy me a coffee through GitHub Sponsors or Ko-fi if you want to support my work.

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
1
Tracked since
Feb 2026
Latest release
6 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
1.0.x-dev Dev 10–11 Feb 4, 2026