Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / generate.plugin.imageformatter.yml
index 32d62f88ac2f58ab601a4568e846724f970f02e7..9505b8f191267a63401a5a2c97fc376b714402d7 100644 (file)
@@ -1,12 +1,21 @@
 description: 'Generate image formatter plugin.'
 help: 'The <info>generate:plugin:imageformatter</info> command helps you generate a new image formatter plugin.'
+welcome: 'Welcome to the Drupal Image Formatter Plugin generator'
 options:
-    module: common.options.module
-    class: 'Plugin class name'
-    label: 'Plugin label'
-    plugin-id: 'Plugin id'
+  module: 'The Module name.'
+  class: 'Plugin class name'
+  label: 'Plugin label'
+  plugin-id: 'Plugin id'
 questions:
-    module: common.questions.module
-    class: 'Enter the plugin class name'
-    label: 'Enter the plugin label'
-    plugin-id: 'Enter the plugin id'
+  module: 'Enter the module name'
+  class: 'Enter the plugin class name'
+  label: 'Enter the plugin label'
+  plugin-id: 'Enter the plugin id'
+examples:
+  - description: 'Generate a image formatter plugin specifying the module name, the class, its label and the plugin id'
+    execution: |
+      drupal generate:plugin:imageformatter  \
+        --module="modulename"  \
+        --class="ExampleImageFormatter"  \
+        --label="Example image formatter"  \
+        --plugin-id="example_image_formatter"