b75e064252f8264c711061e52d11b699dca9097d
[yaffs-website] / vendor / drupal / console-en / translations / generate.plugin.type.annotation.yml
1 description: 'Generate a plugin type with annotation discovery'
2 help: 'The <info>generate:plugin:type:annotation</info> command helps you generate a new Plugin type that uses annotation discovery.'
3 welcome: 'Welcome to the Drupal Plugin Type Annotation generator'
4 options:
5   module: common.options.module
6   class: 'Plugin type class name'
7   machine-name: 'Plugin type machine name'
8   label: 'Plugin type label'
9 questions:
10   module: common.questions.module
11   class: 'Enter the plugin type class name'
12   machine-name: 'Enter the plugin type machine name'
13   label: 'Enter the plugin type label'
14 examples:
15   - description: 'Generate a plugin with annotation discovery specifying module name, class name, machine name and label'
16     execution: |
17       drupal generate:plugin:type:annotation  \
18         --module="modulename"  \
19         --class="ExamplePlugin"  \
20         --machine-name="example_plugin"  \
21         --label="Example plugin"