generate:plugin:queue

Drupal Console Queueworker generator.

Utilisation:

drupal generate:plugin:queue  [options]
gpqueue

Options disponibles

OptionDétails

--module

The module name

--class

QueueWorker file name

--plugin-id

Plugin QueueWorker id

--cron-time

Cron time

--label

Queue description

Exemples

Generate a queue worker plugin specifying the module name, the class and its plugin id

drupal generate:plugin:queue  \
  --module="modulename"  \
  --class="PluginClassName"  \
  --plugin-id="plugin_class_name"  \
  --cron-time="30"  \
  --label="Example QueueWorker"