Chris@0
|
1 comment.admin:
|
Chris@0
|
2 path: '/admin/content/comment'
|
Chris@0
|
3 defaults:
|
Chris@0
|
4 _title: 'Comments'
|
Chris@0
|
5 _form: '\Drupal\comment\Form\CommentAdminOverview'
|
Chris@0
|
6 type: 'new'
|
Chris@0
|
7 requirements:
|
Chris@0
|
8 _permission: 'administer comments'
|
Chris@0
|
9
|
Chris@0
|
10 comment.admin_approval:
|
Chris@0
|
11 path: '/admin/content/comment/approval'
|
Chris@0
|
12 defaults:
|
Chris@0
|
13 _title: 'Unapproved comments'
|
Chris@0
|
14 _form: '\Drupal\comment\Form\CommentAdminOverview'
|
Chris@0
|
15 type: 'approval'
|
Chris@0
|
16 requirements:
|
Chris@0
|
17 _permission: 'administer comments'
|
Chris@0
|
18
|
Chris@0
|
19 entity.comment.edit_form:
|
Chris@0
|
20 path: '/comment/{comment}/edit'
|
Chris@0
|
21 defaults:
|
Chris@0
|
22 _title: 'Edit'
|
Chris@0
|
23 _entity_form: 'comment.default'
|
Chris@0
|
24 requirements:
|
Chris@0
|
25 _entity_access: 'comment.update'
|
Chris@0
|
26 comment: \d+
|
Chris@0
|
27
|
Chris@0
|
28 comment.approve:
|
Chris@0
|
29 path: '/comment/{comment}/approve'
|
Chris@0
|
30 defaults:
|
Chris@0
|
31 _title: 'Approve'
|
Chris@0
|
32 _controller: '\Drupal\comment\Controller\CommentController::commentApprove'
|
Chris@0
|
33 entity_type: 'comment'
|
Chris@0
|
34 requirements:
|
Chris@0
|
35 _entity_access: 'comment.approve'
|
Chris@0
|
36 _csrf_token: 'TRUE'
|
Chris@0
|
37 comment: \d+
|
Chris@0
|
38
|
Chris@0
|
39 entity.comment.canonical:
|
Chris@0
|
40 path: '/comment/{comment}'
|
Chris@0
|
41 defaults:
|
Chris@0
|
42 _title_callback: '\Drupal\comment\Controller\CommentController::commentPermalinkTitle'
|
Chris@0
|
43 _controller: '\Drupal\comment\Controller\CommentController::commentPermalink'
|
Chris@0
|
44 requirements:
|
Chris@0
|
45 _entity_access: 'comment.view'
|
Chris@0
|
46 comment: \d+
|
Chris@0
|
47
|
Chris@0
|
48 entity.comment.delete_form:
|
Chris@0
|
49 path: '/comment/{comment}/delete'
|
Chris@0
|
50 defaults:
|
Chris@0
|
51 _title: 'Delete'
|
Chris@0
|
52 _entity_form: 'comment.delete'
|
Chris@0
|
53 requirements:
|
Chris@0
|
54 _entity_access: 'comment.delete'
|
Chris@0
|
55 comment: \d+
|
Chris@0
|
56
|
Chris@0
|
57 comment.multiple_delete_confirm:
|
Chris@0
|
58 path: '/admin/content/comment/delete'
|
Chris@0
|
59 defaults:
|
Chris@0
|
60 _title: 'Delete'
|
Chris@0
|
61 _form: '\Drupal\comment\Form\ConfirmDeleteMultiple'
|
Chris@17
|
62 entity_type_id: 'comment'
|
Chris@0
|
63 requirements:
|
Chris@17
|
64 _entity_delete_multiple_access: 'comment'
|
Chris@17
|
65
|
Chris@17
|
66 entity.comment.delete_multiple_form:
|
Chris@17
|
67 path: '/admin/content/comment/delete'
|
Chris@17
|
68 defaults:
|
Chris@17
|
69 _title: 'Delete'
|
Chris@17
|
70 _form: '\Drupal\comment\Form\ConfirmDeleteMultiple'
|
Chris@17
|
71 entity_type_id: 'comment'
|
Chris@17
|
72 requirements:
|
Chris@17
|
73 _entity_delete_multiple_access: 'comment'
|
Chris@0
|
74
|
Chris@0
|
75 comment.reply:
|
Chris@0
|
76 path: '/comment/reply/{entity_type}/{entity}/{field_name}/{pid}'
|
Chris@0
|
77 defaults:
|
Chris@0
|
78 _controller: '\Drupal\comment\Controller\CommentController::getReplyForm'
|
Chris@0
|
79 _title: 'Add new comment'
|
Chris@0
|
80 pid: ~
|
Chris@0
|
81 requirements:
|
Chris@0
|
82 _custom_access: '\Drupal\comment\Controller\CommentController::replyFormAccess'
|
Chris@0
|
83 options:
|
Chris@0
|
84 parameters:
|
Chris@0
|
85 entity:
|
Chris@0
|
86 type: entity:{entity_type}
|
Chris@0
|
87
|
Chris@0
|
88 comment.new_comments_node_links:
|
Chris@0
|
89 path: '/comments/render_new_comments_node_links'
|
Chris@0
|
90 defaults:
|
Chris@0
|
91 _controller: '\Drupal\comment\Controller\CommentController::renderNewCommentsNodeLinks'
|
Chris@0
|
92 requirements:
|
Chris@0
|
93 _permission: 'access content'
|
Chris@0
|
94
|
Chris@0
|
95 comment.node_redirect:
|
Chris@0
|
96 path: '/comment/{node}/reply'
|
Chris@0
|
97 defaults:
|
Chris@0
|
98 _controller: 'Drupal\comment\Controller\CommentController::redirectNode'
|
Chris@0
|
99 requirements:
|
Chris@0
|
100 _entity_access: 'node.view'
|
Chris@0
|
101 _module_dependencies: 'node'
|
Chris@0
|
102 node: \d+
|
Chris@0
|
103
|
Chris@0
|
104 entity.comment_type.collection:
|
Chris@0
|
105 path: '/admin/structure/comment'
|
Chris@0
|
106 defaults:
|
Chris@0
|
107 _entity_list: 'comment_type'
|
Chris@0
|
108 _title: 'Comment types'
|
Chris@0
|
109 requirements:
|
Chris@0
|
110 _permission: 'administer comment types'
|
Chris@0
|
111 options:
|
Chris@0
|
112 _admin_route: TRUE
|
Chris@0
|
113
|
Chris@0
|
114 entity.comment_type.delete_form:
|
Chris@0
|
115 path: '/admin/structure/comment/manage/{comment_type}/delete'
|
Chris@0
|
116 defaults:
|
Chris@0
|
117 _entity_form: 'comment_type.delete'
|
Chris@0
|
118 _title: 'Delete'
|
Chris@0
|
119 requirements:
|
Chris@0
|
120 _entity_access: 'comment_type.delete'
|
Chris@0
|
121 options:
|
Chris@0
|
122 _admin_route: TRUE
|
Chris@0
|
123
|
Chris@0
|
124 entity.comment_type.add_form:
|
Chris@0
|
125 path: '/admin/structure/comment/types/add'
|
Chris@0
|
126 defaults:
|
Chris@0
|
127 _entity_form: 'comment_type.add'
|
Chris@0
|
128 _title: 'Add comment type'
|
Chris@0
|
129 requirements:
|
Chris@0
|
130 _permission: 'administer comment types'
|
Chris@0
|
131 options:
|
Chris@0
|
132 _admin_route: TRUE
|
Chris@0
|
133
|
Chris@0
|
134 entity.comment_type.edit_form:
|
Chris@0
|
135 path: '/admin/structure/comment/manage/{comment_type}'
|
Chris@0
|
136 defaults:
|
Chris@0
|
137 _entity_form: 'comment_type.edit'
|
Chris@0
|
138 _title: 'Edit'
|
Chris@0
|
139 requirements:
|
Chris@0
|
140 _entity_access: 'comment_type.update'
|
Chris@0
|
141 options:
|
Chris@0
|
142 _admin_route: TRUE
|