generate:plugin:type:yaml

Generate a plugin type with Yaml discovery

Utilisation:

drupal generate:plugin:type:yaml  [options]
gpty

Options disponibles

OptionDétails

--module

Le nom du module.

--class

Plugin type class name

--plugin-name

Plugin type machine name

--plugin-file-name

Plugin file name

Exemples

Generate a plugin with Yaml discovery specifying module name, class name, plugin name and plugin file name

drupal generate:plugin:type:yaml  \
  --module="modulename"  \
  --class="ExamplePlugin"  \
  --plugin-name="example_plugin"  \
  --plugin-file-name="example.plugin"