Human Queue Worker

Component ID

2202469

Component name

Human Queue Worker

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

3243

Component created

Component changed

Component body

Turn your users into compliant worker drones! With this module, you can have multiple users working concurrently through a queue of entities, to process them in some way.

This works with Drupal's core Queue API, but is meant for tasks that can't be accomplished by an automated worker process. Examples of use cases include approving items for publication, deleting spam, and cleaning up data.

What can be done with an entity includes: publishing, unpublishing, deleting, moving an item to a different queue. These are built as Entity Operations, and so further custom operations can easily be created.

Because this uses the Queue API, it can be used with any Queue backend for storage of queue data. Queue an entity by creating a queue item the normal way, just passing the entity ID as data (the entity type is given by the declaration of the queue as a human worker queue).

Users access the processing page for a queue from a main page listing the queues they may work on. Visiting the processing page for a queue automatically claims an item for the user. They are shown the single entity from the queue, along with a form allowing them to perform any of the operations defined for the queue. Performing one of the operations on the entity clears the entity from the queue, and the user is presented with another entity to process, and so on until the queue is empty.

Comment processing

This project contains a submodule which provides a Human Queue for processing comments pending approval. This allows much quicker processing of comments than the core UI for approving or deleting comments.

Requirements