Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / generate.plugin.rulesaction.yml
1 description: 'Generate a plugin rule action'
2 help: 'The <info>generate:plugin:rulesaction</info> command helps you generate a new Plugin rule action.'
3 welcome: 'Welcome to the Drupal Plugin Rules Action generator'
4 options:
5   module: 'The Module name.'
6   class: 'Plugin class name'
7   label: 'Plugin label'
8   plugin-id: 'Plugin id'
9   category: 'Plugin category'
10   context: 'Plugin context'
11   type: 'Action Type (user or node)'
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   category: 'Enter plugin category'
18   context: 'Enter plugin context'
19 examples:
20   - description: 'Generate a user rule action plugin specifying the module name, the class, its label, the plugin id, the type, the category and its context'
21     execution: |
22       drupal generate:plugin:rulesaction  \
23         --module="modulename"  \
24         --class="DefaultAction"  \
25         --label="Default action"  \
26         --plugin-id="default_action"  \
27         --type="user"  \
28         --category="default_action"  \
29         --context="default_action"
30   - description: 'Generate a node rule action plugin specifying the module name, the class, its label, the plugin id, the type, the category and its context'
31     execution: |
32       drupal generate:plugin:rulesaction  \
33         --module="modulename"  \
34         --class="DefaultAction"  \
35         --label="Default action"  \
36         --plugin-id="default_action"  \
37         --type="node"  \
38         --category="default_action" \
39         --context="default_action"