Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / generate.plugin.fieldtype.yml
1 description: 'Generate field type plugin.'
2 help: 'The <info>generate:plugin:fieldtype</info> command helps you generate a new field type plugin.'
3 welcome: 'Welcome to the Drupal Field Type Plugin generator'
4 options:
5   module: 'The Module name.'
6   class: 'Plugin class name'
7   label: 'Plugin label'
8   plugin-id: 'Plugin id'
9   description: 'Plugin Description'
10   default-widget: 'Default field widget of this plugin'
11   default-formatter: 'Default field formatter of this plugin'
12 questions:
13   module: 'Enter the module name'
14   class: 'Enter the plugin class name'
15   label: 'Enter the plugin label'
16   plugin-id: 'Enter the plugin id'
17   description: 'Enter the plugin Description'
18   default-widget: 'Enter the default field widget of this plugin'
19   default-formatter: 'Enter the default field formatter of this plugin'
20 suggestions:
21   my-field-type: 'My Field Type'
22 examples:
23   - description: 'Generate a field type plugin specifying the module name, the class, its label, the plugin id and a description'
24     execution: |
25       drupal generate:plugin:fieldtype  \
26         --module="modulename"  \
27         --class="ExampleFieldType"  \
28         --label="Example field type"  \
29         --plugin-id="example_field_type"  \
30         --description="My Field Type"
31   - description: 'Generate a field type plugin with a default widget and formatter specifying the module name, the class, its label, the plugin id and a description'
32     execution: |
33       drupal generate:plugin:fieldtype  \
34         --module="modulename"  \
35         --class="ExampleFieldType"  \
36         --label="Example field type"  \
37         --plugin-id="example_field_type"  \
38         --description="My Field Type"  \
39         --default-widget="DefaultWidget"  \
40         --default-formatter="DefaultFormatter"