Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / generate.plugin.mail.yml
index 8eb2b44bc9d1407f1691330c89d7657bb366573e..b44e937b2f322d26236b659da49a92d7d61c2ad4 100644 (file)
@@ -2,16 +2,24 @@ 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: common.options.module
-    class: 'Plugin class name'
-    label: 'Plugin label'
-    plugin-id: 'Plugin id'
-    inputs: common.options.inputs
-    services: common.options.services
+  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: 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"