Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We shall have an option for the drush command to run only a group of queues.
For example: drush advancedqueue-process-queue --group=migrate
Comment | File | Size | Author |
---|---|---|---|
#1 | 2013687-advancedqueue-groups-1.patch | 1.74 KB | skipyT |
Comments
Comment #1
skipyT CreditAttribution: skipyT commentedI added the group option to the drush command. Diff file attached.
Comment #2
ekes CreditAttribution: ekes commentedIf I understand this requires the implementer of
hook_advanced_queue_info()
to implement a ['group'] for the item. So I guess would also need the documentation (which I think is just the advancequeue_example) updating?Comment #4
Kazanir CreditAttribution: Kazanir at Platform.sh for Acro Commerce commentedThis patch wouldn't have worked without a lot of notices due to how array append operators work in PHP, but I expanded on it and allowed you to declare multiple groups per queue info, meaning that it now functions more like a "tag" system and improves the overall flexibility. Committed.
Comment #5
Kazanir CreditAttribution: Kazanir at Platform.sh for Acro Commerce commented