forked from mohankumargupta/mentionsdrupal8module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmentions.routing.yml
76 lines (68 loc) · 2.18 KB
/
mentions.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
entity.mentions_type.list:
path: '/admin/structure/mentions'
defaults:
_entity_list: 'mentions_type'
_title: 'Mentions Type'
requirements:
_permission: 'administer mentions'
entity.mentions_type.add_form:
path: '/admin/structure/mentions/add'
defaults:
_title: 'Mentions Type'
_entity_form: 'mentions_type.add'
requirements:
_permission: 'administer mentions'
entity.mentions_type.edit_form:
path: '/admin/structure/mentions/{mentions_type}/edit'
defaults:
_entity_form: 'mentions_type.edit'
_title: 'Edit Mentions Type'
requirements:
_permission: 'administer site configuration'
options:
parameters:
mentions_type:
type: entity:mentions_type
entity.mentions_type.delete_form:
path: '/admin/structure/mentions/{mentions_type}/delete'
defaults:
_entity_form: 'mentions_type.delete'
_title: 'Delete Mentions Type'
requirements:
_permission: 'administer site configuration'
options:
parameters:
mentions_type:
type: entity:mentions_type
mentions.mentions_type_form:
path: '/admin/structure/mentions/mentionstype'
defaults:
_form: '\Drupal\mentions\Form\MentionsTypeForm'
_title: 'MentionsTypeForm'
requirements:
_permission: 'access administration pages'
mentions.usermentions:
path: '/user/{user}/mentions'
defaults:
_controller: '\Drupal\mentions\Controller\MentionsUserTab::mentionsView'
requirements:
_access_contact_personal_tab: 'TRUE'
mentions.prefixesandsuffixes:
path: '/mentions/prefixesandsuffixes'
defaults:
_controller: '\Drupal\mentions\Controller\MentionsUserList::userPrefixesAndSuffixes'
requirements:
_permission: 'View content'
mentions.userlist:
path: '/mentions/userlist'
defaults:
_controller: '\Drupal\mentions\Controller\MentionsUserList::userList'
requirements:
_permission: 'View content'
mentions.settings:
path: '/admin/config/mentions'
defaults:
_form: '\Drupal\mentions\Form\MentionsConfigForm'
_title: 'Mentions Configuration'
requirements:
_permission: 'access administration pages'