- module: common.questions.module
- class: 'Enter the plugin class name'
- label: 'Enter the plugin label'
- plugin-id: 'Enter the plugin id'
- inputs: common.questions.inputs
- services: common.questions.services
+ module: 'Enter the module name'
+ class: 'Enter the plugin class name'
+ label: 'Enter the plugin label'
+ plugin-id: 'Enter the plugin id'
+ inputs: common.questions.inputs
+ services: 'Enter your service'
+examples:
+ - description: 'Generate an email plugin specifying the module name, the class, its label and the plugin id'
+ execution: |
+ drupal generate:plugin:mail \
+ --module="modulename" \
+ --class="HtmlFormatterMail" \
+ --label="Html formatter mail" \
+ --plugin-id="html_formatter_mail"