forked from dpi/rng
-
Notifications
You must be signed in to change notification settings - Fork 1
/
rng.routing.yml
260 lines (232 loc) · 7.79 KB
/
rng.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
# registration entities
# Registration add: rng.event.{entity_type_of_event}.register
# See \Drupal\rng\Routing\RouteSubscriber for more info.
entity.registration.canonical:
path: '/registration/{registration}'
defaults:
_entity_view: 'registration'
_title: 'Registration'
requirements:
_entity_access: 'registration.view'
entity.registration.edit_form:
path: '/registration/{registration}/edit'
defaults:
_entity_form: 'registration.edit'
_title: 'Edit registration'
requirements:
_entity_access: 'registration.update'
entity.registration.delete_form:
path: '/registration/{registration}/delete'
defaults:
_entity_form: 'registration.delete'
_title: 'Delete registration'
requirements:
_entity_access: 'registration.delete'
entity.registration.registrants:
path: '/registration/{registration}/registrants'
defaults:
_entity_form: 'registration.registrants'
_title: 'Edit identities'
requirements:
_entity_access: 'registration.update'
# registration_type entities
entity.registration_type.add:
path: '/admin/structure/rng/registration_types/add'
defaults:
_entity_form: 'registration_type.add'
_title: 'Add registration type'
requirements:
_permission: 'administer registration types'
entity.registration_type.canonical:
path: '/admin/structure/rng/registration_types/manage/{registration_type}'
defaults:
_entity_form: 'registration_type.edit'
_title: 'Edit registration type'
requirements:
_permission: 'administer registration types'
entity.registration_type.edit_form:
path: '/admin/structure/rng/registration_types/manage/{registration_type}'
defaults:
_entity_form: 'registration_type.edit'
_title: 'Edit registration type'
requirements:
_permission: 'administer registration types'
entity.registration_type.delete_form:
path: '/admin/structure/rng/registration_types/manage/{registration_type}/delete'
defaults:
_entity_form: 'registration_type.delete'
_title: 'Delete registration type'
requirements:
_permission: 'administer registration types'
rng.registration_type.overview:
path: '/admin/structure/rng/registration_types'
defaults:
_controller: '\Drupal\Core\Entity\Controller\EntityListController::listing'
entity_type: 'registration_type'
_title: 'Registration types'
requirements:
_permission: 'administer registration types'
# registration group entities
entity.registration_group.canonical:
path: '/rng/group/{registration_group}/edit'
defaults:
_entity_form: 'registration_group.edit'
_title: 'Edit registration group'
requirements:
_entity_access: 'registration_group.update'
entity.registration_group.edit_form:
path: '/rng/group/{registration_group}/edit'
defaults:
_entity_form: 'registration_group.edit'
_title: 'Edit registration group'
requirements:
_entity_access: 'registration_group.update'
entity.registration_group.delete_form:
path: '/rng/group/{registration_group}/delete'
defaults:
_entity_form: 'registration_group.delete'
_title: 'Delete registration group'
requirements:
_entity_access: 'registration_group.delete'
# rule entities
entity.rng_rule.delete_form:
path: '/rng/rule/{rng_rule}/delete'
defaults:
_entity_form: 'rng_rule.delete'
_title: 'Delete rule'
requirements:
_entity_access: 'rng_rule.delete'
# rule component entities
entity.rng_rule_component.canonical:
path: '/rng/component/{rng_rule_component}/edit'
defaults:
_entity_form: 'rng_rule_component.edit'
_title: 'Edit component'
requirements:
_entity_access: 'rng_rule_component.update'
entity.rng_rule_component.edit_form:
path: '/rng/component/{rng_rule_component}/edit'
defaults:
_entity_form: 'rng_rule_component.edit'
_title: 'Edit component'
requirements:
_entity_access: 'rng_rule_component.update'
# event_type entities
entity.rng_event_type.add:
path: '/admin/structure/rng/event_types/add'
defaults:
_entity_form: 'rng_event_type.add'
_title: 'Add RNG event type'
requirements:
_permission: 'administer event types'
entity.rng_event_type.edit_form:
path: '/admin/structure/rng/event_types/manage/{rng_event_type}/edit'
defaults:
_entity_form: 'rng_event_type.edit'
_title: 'Edit event type'
requirements:
_permission: 'administer event types'
entity.rng_event_type.delete_form:
path: '/admin/structure/rng/event_types/manage/{rng_event_type}/delete'
defaults:
_entity_form: 'rng_event_type.delete'
_title: 'Delete event type'
requirements:
_permission: 'administer event types'
entity.rng_event_type.access_defaults:
path: '/admin/structure/rng/event_types/manage/{rng_event_type}/access_defaults'
defaults:
_entity_form: 'rng_event_type.event_access_defaults'
_title: 'Event type access defaults'
requirements:
_permission: 'administer event types'
entity.rng_event_type.default_messages:
path: '/admin/structure/rng/event_types/manage/{rng_event_type}/messages'
defaults:
_entity_form: 'rng_event_type.event_default_messages'
_title: 'Event type Default messages'
requirements:
_permission: 'administer event types'
entity.rng_event_type.default_messages.add:
path: '/admin/structure/rng/event_types/manage/{rng_event_type}/messages/add'
defaults:
_form: '\Drupal\rng\Form\EventTypeDefaultMessagesAddForm'
_title: 'Add message'
options:
parameters:
rng_event_type:
type: entity:rng_event_type
requirements:
_permission: 'administer event types'
entity.rng_event_type.field_mapping:
path: '/admin/structure/rng/event_types/manage/{rng_event_type}/field_mapping'
defaults:
_entity_form: 'rng_event_type.field_mapping'
_title: 'Field mapping'
requirements:
_permission: 'administer event types'
entity.rng_event_type.access_defaults.delete_all:
path: '/admin/structure/rng/event_types/manage/{rng_event_type}/access_defaults/delete'
defaults:
_form: '\Drupal\rng\Form\EventTypeRuleDeleteAll'
_title: 'Delete all event custom rules'
requirements:
_permission: 'administer event types'
options:
parameters:
rng_event_type_rule:
type: 'entity:rng_event_type_rule'
rng.rng_event_type.overview:
path: '/admin/structure/rng/event_types'
defaults:
_controller: '\Drupal\Core\Entity\Controller\EntityListController::listing'
entity_type: 'rng_event_type'
_title: 'Event types'
requirements:
_permission: 'administer event types'
# Event type rules
rng.rng_event_type_rule.component.edit:
path: '/admin/structure/rng/event_type_rule/{rng_event_type_rule}/{component_type}/{component_id}/edit'
defaults:
_form: '\Drupal\rng\Form\EventTypeRuleComponentEdit'
_title: 'Component edit'
requirements:
_permission: 'administer event types'
options:
parameters:
rng_event_type_rule:
type: 'entity:rng_event_type_rule'
component_type:
type: 'rng_component_type'
component_id:
type: 'rng_component_id'
# RNG Structure overview
rng.structure:
path: '/admin/structure/rng'
defaults:
_controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
_title: 'RNG'
requirements:
_permission: 'access administration pages'
# RNG Configuration
rng.config:
path: '/admin/config/rng'
defaults:
_controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
_title: 'RNG'
requirements:
_permission: 'access administration pages'
rng.config.settings:
path: '/admin/config/rng/settings'
defaults:
_form: '\Drupal\rng\Form\RngSettingsForm'
_title: 'RNG settings'
requirements:
_permission: 'administer rng'
rng.config.plugin.condition:
path: '/admin/config/rng/plugin/condition'
defaults:
_form: '\Drupal\rng\Form\PluginConditionSettingsForm'
_title: 'Condition settings'
requirements:
_permission: 'administer rng'