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'
5 module: 'The Module name.'
6 class: 'Plugin class name'
9 field-type: 'Field type the plugin can be used with'
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'
17 - description: 'Generate a text type field widget plugin specifying the module name, the class, its label, the plugin id and the field type'
19 drupal generate:plugin:fieldwidget \
20 --module="modulename" \
21 --class="ExampleFieldWidget" \
22 --label="Example field widget" \
23 --plugin-id="example_field_widget" \