Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / generate.plugin.fieldwidget.yml
1 description: 'Generate field widget plugin.'
2 help: 'The <info>generate:plugin:fieldwidget</info> command helps you generate a new field widget plugin.'
3 welcome: 'Welcome to the Drupal Field Widget Plugin generator'
4 options:
5   module: 'The Module name.'
6   class: 'Plugin class name'
7   label: 'Plugin label'
8   plugin-id: 'Plugin id'
9   field-type: 'Field type the plugin can be used with'
10 questions:
11   module: 'Enter the module name'
12   class: 'Enter the plugin class name'
13   label: 'Enter the plugin label'
14   plugin-id: 'Enter the plugin id'
15   field-type: 'Enter the field type the plugin can be used with'
16 examples:
17   - description: 'Generate a text type field widget plugin specifying the module name, the class, its label, the plugin id and the field type'
18     execution: |
19       drupal generate:plugin:fieldwidget  \
20         --module="modulename"  \
21         --class="ExampleFieldWidget"  \
22         --label="Example field widget"  \
23         --plugin-id="example_field_widget"  \
24         --field-type="text"