X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole-en%2Ftranslations%2Fgenerate.plugin.imageformatter.yml;fp=vendor%2Fdrupal%2Fconsole-en%2Ftranslations%2Fgenerate.plugin.imageformatter.yml;h=9505b8f191267a63401a5a2c97fc376b714402d7;hp=32d62f88ac2f58ab601a4568e846724f970f02e7;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/drupal/console-en/translations/generate.plugin.imageformatter.yml b/vendor/drupal/console-en/translations/generate.plugin.imageformatter.yml index 32d62f88a..9505b8f19 100644 --- a/vendor/drupal/console-en/translations/generate.plugin.imageformatter.yml +++ b/vendor/drupal/console-en/translations/generate.plugin.imageformatter.yml @@ -1,12 +1,21 @@ description: 'Generate image formatter plugin.' help: 'The generate:plugin:imageformatter 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"