-
Notifications
You must be signed in to change notification settings - Fork 1
/
kififeedback.routing.yml
85 lines (74 loc) · 2.4 KB
/
kififeedback.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
entity.kififeedback.canonical:
path: '/admin/content/feedback/{kififeedback}/preview'
defaults:
_entity_view: 'kififeedback.preview'
_title: 'Feedback'
requirements:
kififeedback: \d+
_entity_access: 'kififeedback.view'
entity.kififeedback.collection:
path: '/admin/content/feedback'
defaults:
_entity_list: 'kififeedback'
_title: 'Submitted feedback'
requirements:
kififeedback: \d+
_permission: 'manage feedback'
entity.kififeedback.add_form:
path: '/feedback/{kififeedback_channel}'
defaults:
_controller: 'Drupal\kififeedback\Controller\FeedbackController::addForm'
_title_callback: 'Drupal\kififeedback\Controller\FeedbackController::getTitle'
kififeedback_channel: 'default'
requirements:
_access: 'TRUE'
entity.kififeedback.edit_form:
path: '/admin/content/feedback/{kififeedback}'
defaults:
_entity_form: 'kififeedback.edit'
_title: 'Respond to feedback'
requirements:
_entity_access: kififeedback.update
entity.kififeedback.forward_form:
path: '/admin/content/feedback/{kififeedback}/forward'
defaults:
_entity_form: 'kififeedback.forward'
_title: 'Forward message'
requirements:
kififeedback: \d+
_entity_access: 'kififeedback.update'
entity.kififeedback.delete_form:
path: '/admin/content/feedback/{kififeedback}/delete'
defaults:
_entity_form: 'kififeedback.delete'
requirements:
kififeedback: \d+
_entity_access: 'kififeedback.delete'
entity.kififeedback_channel.collection:
path: '/admin/structure/channels'
defaults:
_entity_list: 'kififeedback_channel'
_title: 'Feedback channels'
requirements:
_permission: 'manage feedback'
entity.kififeedback_channel.add_form:
path: '/admin/structure/channels/add'
defaults:
_entity_form: 'kififeedback_channel.default'
_title: 'New feedback channel'
requirements:
_entity_create_access: 'kififeedback_channel'
entity.kififeedback_channel.edit_form:
path: '/admin/structure/channels/{kififeedback_channel}'
defaults:
_entity_form: 'kififeedback_channel.default'
requirements:
kififeedback_channel: \w+
_entity_access: 'kififeedback_channel.update'
entity.kififeedback_channel.delete_form:
path: '/admin/structure/channels/{kififeedback_channel}/delete'
defaults:
_entity_form: 'kififeedback_channel.delete'
requirements:
kififeedback_channel: \w+
_entity_access: 'kififeedback_channel.delete'