This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/vendor/drupal/console-en/translations/generate.plugin.mail.yml

26 lines
936 B
YAML
Raw Normal View History

2018-11-23 12:29:20 +00:00
description: 'Generate a plugin mail'
help: 'The <info>generate:plugin:mail</info> command helps you generate a new Plugin mail.'
welcome: 'Welcome to the Drupal Plugin Mail generator'
options:
module: 'The Module name.'
class: 'Plugin class name'
label: 'Plugin label'
plugin-id: 'Plugin id'
inputs: 'Create inputs in a form.'
services: 'Load services from the container.'
questions:
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"