-
Notifications
You must be signed in to change notification settings - Fork 123
/
rules.routing.yml
89 lines (78 loc) · 2.73 KB
/
rules.routing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# Declaration of Rules routings.
### Rules settings form
rules.settings:
path: '/admin/config/workflow/rules/settings'
defaults:
_form: '\Drupal\rules\Form\RulesSettingsForm'
_title: 'Rules settings'
requirements:
_permission: 'administer rules'
### Rules Reactions
entity.rules_reaction_rule.collection:
path: '/admin/config/workflow/rules'
defaults:
_entity_list: 'rules_reaction_rule'
_title: 'Rules'
requirements:
_permission: 'administer rules+administer rules reactions'
entity.rules_reaction_rule.add_form:
path: '/admin/config/workflow/rules/reactions/add'
defaults:
_entity_form: 'rules_reaction_rule.add'
_title: 'Add reaction rule'
options:
_rules_ui: rules.reaction_rules
requirements:
_permission: 'administer rules+administer rules reactions'
entity.rules_reaction_rule.edit_form:
path: '/admin/config/workflow/rules/reactions/edit/{rules_reaction_rule}'
defaults:
_entity_form: 'rules_reaction_rule.edit'
_title_callback: '\Drupal\rules\Form\ReactionRuleEditForm::getTitle'
options:
_rules_ui: rules.reaction_rules
requirements:
_permission: 'administer rules+administer rules reactions'
entity.rules_reaction_rule.delete_form:
path: '/admin/config/workflow/rules/reactions/delete/{rules_reaction_rule}'
defaults:
_entity_form: 'rules_reaction_rule.delete'
options:
_rules_ui: rules.reaction_rules
requirements:
_permission: 'administer rules+administer rules reactions'
### Rules Components
entity.rules_component.collection:
path: '/admin/config/workflow/rules/components'
defaults:
# Calls the list controller, defined in the annotation of the rules component entity.
_entity_list: 'rules_component'
_title: 'Rules components'
requirements:
_permission: 'administer rules+administer rules components'
entity.rules_component.add_form.rule:
path: '/admin/config/workflow/rules/components/add/rule'
defaults:
_entity_form: 'rules_component.add'
_title: 'Add rule'
options:
_rules_ui: rules.components
requirements:
_permission: 'administer rules+administer rules components'
entity.rules_component.edit_form:
path: '/admin/config/workflow/rules/components/edit/{rules_component}'
defaults:
_entity_form: 'rules_component.edit'
_title_callback: '\Drupal\rules\Form\RulesComponentEditForm::getTitle'
options:
_rules_ui: rules.components
requirements:
_permission: 'administer rules+administer rules components'
entity.rules_component.delete_form:
path: '/admin/config/workflow/rules/components/delete/{rules_component}'
defaults:
_entity_form: 'rules_component.delete'
options:
_rules_ui: rules.components
requirements:
_permission: 'administer rules+administer rules components'