Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drupal / console-en / translations / generate.plugin.type.yaml.yml
1 description: 'Generate a plugin type with Yaml discovery'
2 help: 'The <info>generate:plugin:type:yaml</info> command helps you generate a new Plugin type that uses Yaml discovery.'
3 welcome: 'Welcome to the Drupal Plugin Type Yaml generator'
4 options:
5   module: 'The Module name.'
6   class: 'Plugin type class name'
7   plugin-name: 'Plugin type machine name'
8   plugin-file-name: 'Plugin file name'
9 questions:
10   module: 'Enter the module name'
11   class: 'Enter the plugin type class name'
12   plugin-name: 'Enter the plugin type machine name'
13   plugin-file-name: 'Enter the plugin file name (e.g. MODULE.plugin.filename.yml)'
14 examples:
15   - description: 'Generate a plugin with Yaml discovery specifying module name, class name, plugin name and plugin file name'
16     execution: |
17       drupal generate:plugin:type:yaml  \
18         --module="modulename"  \
19         --class="ExamplePlugin"  \
20         --plugin-name="example_plugin"  \
21         --plugin-file-name="example.plugin"