-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkifitos.routing.yml
51 lines (45 loc) · 1.32 KB
/
kifitos.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
entity.kifitos.canonical:
path: '/admin/content/kifitos/{kifitos}/view'
defaults:
_entity_view: 'kifitos.full'
requirements:
kifitos: \d+
_entity_access: 'kifitos.view'
entity.kifitos.add_form:
path: '/admin/content/kifitos/add'
defaults:
_entity_form: 'kifitos.default'
_title: 'Add terms of service agreement'
requirements:
_permission: 'administer kifitos'
entity.kifitos.edit_form:
path: '/admin/content/kifitos/{kifitos}/edit'
defaults:
_entity_form: 'kifitos.default'
_title: 'Edit terms of service agreement'
requirements:
kifitos: \d+
_entity_access: 'kifitos.update'
entity.kifitos.delete_form:
path: '/admin/content/kifitos/{kifitos}/delete'
defaults:
_entity_form: 'kifitos.delete'
_title: 'Delete terms of service agreement'
requirements:
kifitos: \d+
_entity_access: 'kifitos.delete'
entity.kifitos.config_form:
path: '/admin/content/kifitos/{kifitos}/configure'
defaults:
_controller: 'Drupal\kifitos\Controller\AgreementController::configure'
_title: 'Configure {kifitos}'
requirements:
kifitos: \d+
_permission: 'administer kifitos_config'
entity.kifitos.approve_form:
path: '/admin/content/kifitos/{kifitos}'
defaults:
_entity_form: 'kifitos.approve'
requirements:
kifitos: \d+
_entity_access: 'kifitos.approve'