X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole-en%2Ftranslations%2Fgenerate.plugin.fieldformatter.yml;h=b8189e8e79067958ff8c5f20b5135abe60bd9723;hb=4e1bfbf98b844da83b18aca92ef00f11a4735806;hp=a47e9b7e06c1a761a95fce5e2d8b6aa2147ac92b;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/vendor/drupal/console-en/translations/generate.plugin.fieldformatter.yml b/vendor/drupal/console-en/translations/generate.plugin.fieldformatter.yml index a47e9b7e0..b8189e8e7 100644 --- a/vendor/drupal/console-en/translations/generate.plugin.fieldformatter.yml +++ b/vendor/drupal/console-en/translations/generate.plugin.fieldformatter.yml @@ -2,14 +2,23 @@ description: 'Generate field formatter plugin.' help: 'The generate:plugin:fieldformatter command helps you generate a new field formatter plugin.' welcome: 'Welcome to the Drupal Field Formatter Plugin generator' options: - module: common.options.module - class: 'Plugin class name' - label: 'Plugin label' - plugin-id: 'Plugin id' - field-type: 'Field type the plugin can be used with' + module: 'The Module name.' + class: 'Plugin class name' + label: 'Plugin label' + plugin-id: 'Plugin id' + field-type: 'Field type the plugin can be used with' questions: - module: common.questions.module - class: 'Enter the plugin class name' - label: 'Enter the plugin label' - plugin-id: 'Enter the plugin id' - field-type: 'Enter the field type the plugin can be used with' + module: 'Enter the module name' + class: 'Enter the plugin class name' + label: 'Enter the plugin label' + plugin-id: 'Enter the plugin id' + field-type: 'Enter the field type the plugin can be used with' +examples: + - description: 'Generate a text field formatter plugin specifying the module name, the class, the label its plugin id and the field type' + execution: | + drupal generate:plugin:fieldformatter \ + --module="modulename" \ + --class="ExampleFieldFormatter" \ + --label="Example field formatter" \ + --plugin-id="example_field_formatter" \ + --field-type="text"