Queue Create
queue_createCreate a Drupal queue ready to accept items. The implementation is resolved via settings.php, not a class name.
Instructions
Create a queue and make it ready to accept items.
class_name is refused rather than silently dropped. Drupal resolves a
queue's implementation in settings.php - queue_service_<name>, else
queue_default, else the queue.database service - and that service
must already exist in the container, so no API accepts a class name when
a queue is created. Accepting it would let a caller believe they had a
custom queue implementation when they had the default one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_name | No | Drupal\Core\Queue\DatabaseQueue | |
| queue_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||