itk-dev / itkdev_advancedqueue_addons
Add-ons for Drupal's Advanced Queue module
Package info
github.com/itk-dev/itkdev_advancedqueue_addons
Type:drupal-module
pkg:composer/itk-dev/itkdev_advancedqueue_addons
Requires
- php: ^8.4
- drupal/advancedqueue: ^1.7
- drush/drush: ^13.8
Requires (Dev)
- ergebnis/composer-normalize: ^2.56
- palantirnet/drupal-rector: ^1.1
- phpstan/phpstan: 2.3.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-30 09:01:43 UTC
README
Additional Drush commands for Advanced Queue.
Note
This module is mainly for use during development, but in rare cases it may also be used in production.
Installation
composer require --dev itk-dev/itkdev_advancedqueue_addons drush pm:install itkdev_advancedqueue_addons
Usage
The module provides three Drush commands:
advancedqueue:queue:list:jobs
List jobs in a queue. Arguments: queue-id The queue ID. [job-id]... An optional list of job IDs. Options: --show-payload Show payload --search=SEARCH Search for a value, by path or by a JSON object --limit=LIMIT Maximum number of jobs to return (at most 100) --format=FORMAT Format the result data. Available formats: csv,json,list,null,php,print-r,sections,string,table,tsv,var_dump,var_export,xml,yaml [default: table] --fields=FIELDS Limit output to only the listed elements. Name top-level elements by key, e.g. "--fields=name,date", or use dot notation to select a nested element, e.g. "--fields=a.b.c as example". --field=FIELD Select just one field, and force format to *string*. Global options: -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug -y, --yes Auto-accept the default for all user prompts. Equivalent to --no-interaction. -l, --uri=URI A base URL for building links and selecting a multi-site. Defaults to https://default. To see all global options, run `drush topic` and pick the first choice.
advancedqueue:queue:job:process
Process job in a queue. Arguments: queue-id The queue ID. job-id (job-id)... A list of job IDs. Note: Jobs are processed in the order specified and not in queue order. Options: --show-payload Show payload --format=FORMAT Format the result data. Available formats: csv,json,list,null,php,print-r,sections,string,table,tsv,var_dump,var_export,xml,yaml [default: table] --fields=FIELDS Limit output to only the listed elements. Name top-level elements by key, e.g. "--fields=name,date", or use dot notation to select a nested element, e.g. "--fields=a.b.c as example". --field=FIELD Select just one field, and force format to *string*. Global options: -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug -y, --yes Auto-accept the default for all user prompts. Equivalent to --no-interaction. -l, --uri=URI A base URL for building links and selecting a multi-site. Defaults to https://default. To see all global options, run `drush topic` and pick the first choice.
advancedqueue:queue:job:set-payload-value
Process job in a queue. Arguments: queue-id The queue ID. job-id The job ID. Options: --diff Show payload diff --set=SET Set string value --set-int=SET-INT Set integer value --edit Edit payload interactively. Editing will be performed after all set and unset operations have been performed. --editor=EDITOR The editor to use [default: vi] --unset=UNSET Unset value Global options: -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug -y, --yes Auto-accept the default for all user prompts. Equivalent to --no-interaction. -l, --uri=URI A base URL for building links and selecting a multi-site. Defaults to https://default. To see all global options, run `drush topic` and pick the first choice.
Development
We use DDEV and friends for development – see README.ddev.md for details.
Important
2026-11-06: We lock phpstan/phpstan to version 2.3.3 as a temporary workaround for the issue reported in
rectorphp/rector#9947.
We use palantirnet/drupal-rector to run
Rector. drupal-rector pulls in rectorphp/rector, but conflicts with
"rector/rector": ">=2.6.2"
and therefore we cannot (yet) upgrade to rector/rector:^2.8.3.
See rectorphp/rector#9947 (comment) for details.
Documentation
We use Markdown Code Runner to insert Drush command output into
README.md.
Run
task docs:update
to update the documentation.
Note
THe docs:update task runs only on the darwin platform (cf. Platforms and
shells).