X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole-en%2Ftranslations%2Fgenerate.plugin.fieldwidget.yml;h=3b284693500ff537d88473b36f4767e80aca340d;hb=4e1bfbf98b844da83b18aca92ef00f11a4735806;hp=9aef32fe582aef1974bd4ed32e9772d4310a0c05;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/vendor/drupal/console-en/translations/generate.plugin.fieldwidget.yml b/vendor/drupal/console-en/translations/generate.plugin.fieldwidget.yml index 9aef32fe5..3b2846935 100644 --- a/vendor/drupal/console-en/translations/generate.plugin.fieldwidget.yml +++ b/vendor/drupal/console-en/translations/generate.plugin.fieldwidget.yml @@ -2,14 +2,23 @@ description: 'Generate field widget plugin.' help: 'The generate:plugin:fieldwidget command helps you generate a new field widget plugin.' welcome: 'Welcome to the Drupal Field Widget 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 type field widget plugin specifying the module name, the class, its label, the plugin id and the field type' + execution: | + drupal generate:plugin:fieldwidget \ + --module="modulename" \ + --class="ExampleFieldWidget" \ + --label="Example field widget" \ + --plugin-id="example_field_widget" \ + --field-type="text"