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'
5 module: 'The Module name.'
6 class: 'Plugin class name'
9 category: 'Plugin category'
10 context: 'Plugin context'
11 type: 'Action Type (user or node)'
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'
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'
22 drupal generate:plugin:rulesaction \
23 --module="modulename" \
24 --class="DefaultAction" \
25 --label="Default action" \
26 --plugin-id="default_action" \
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'
32 drupal generate:plugin:rulesaction \
33 --module="modulename" \
34 --class="DefaultAction" \
35 --label="Default action" \
36 --plugin-id="default_action" \
38 --category="default_action" \
39 --context="default_action"