generate:plugin:queue

Drupal Console Queueworker generator.

Utilização:

drupal generate:plugin:queue  [options]
gpqueue

Opções disponíveis

OpçãoDetalhes

--module

The module name

--class

QueueWorker file name

--plugin-id

Plugin QueueWorker id

--cron-time

Cron time

--label

Queue description

Exemplos

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"