generate:plugin:type:annotation

Generate a plugin type with annotation discovery

Utilização:

drupal generate:plugin:type:annotation  [options]
gpta

Opções disponíveis

OpçãoDetalhes

--module

O nome do módulo.

--class

Plugin type class name

--machine-name

commands.generate.plugin.type.annotation.options.plugin-id

--label

Plugin type label

Exemplos

Generate a plugin with annotation discovery specifying module name, class name, machine name and label

drupal generate:plugin:type:annotation  \
  --module="modulename"  \
  --class="ExamplePlugin"  \
  --machine-name="example_plugin"  \
  --label="Example plugin"