2013-09-18 18:30:30 +00:00
|
|
|
comment.admin:
|
|
|
|
path: '/admin/content/comment'
|
|
|
|
defaults:
|
|
|
|
_title: 'Comments'
|
Issue #1986606 by jibran, pcambra, vijaycs85, dawehner, andypost, mbovan, Arla, adnen, vprocessor, tkuldeep17, xjm, kim.pepper, dobe, snig, larowlan, miro_dietiker, tim.plunkett, Berdir, Lendude, plach, olli, damiankloip: Convert the comments administration screen to a view
2017-07-29 06:55:37 +00:00
|
|
|
_form: '\Drupal\comment\Form\CommentAdminOverview'
|
2013-09-18 18:30:30 +00:00
|
|
|
type: 'new'
|
|
|
|
requirements:
|
|
|
|
_permission: 'administer comments'
|
|
|
|
|
|
|
|
comment.admin_approval:
|
|
|
|
path: '/admin/content/comment/approval'
|
|
|
|
defaults:
|
|
|
|
_title: 'Unapproved comments'
|
Issue #1986606 by jibran, pcambra, vijaycs85, dawehner, andypost, mbovan, Arla, adnen, vprocessor, tkuldeep17, xjm, kim.pepper, dobe, snig, larowlan, miro_dietiker, tim.plunkett, Berdir, Lendude, plach, olli, damiankloip: Convert the comments administration screen to a view
2017-07-29 06:55:37 +00:00
|
|
|
_form: '\Drupal\comment\Form\CommentAdminOverview'
|
2013-09-18 18:30:30 +00:00
|
|
|
type: 'approval'
|
|
|
|
requirements:
|
|
|
|
_permission: 'administer comments'
|
|
|
|
|
2014-08-04 17:19:44 +00:00
|
|
|
entity.comment.edit_form:
|
2013-09-16 05:06:19 +00:00
|
|
|
path: '/comment/{comment}/edit'
|
2013-06-27 11:36:30 +00:00
|
|
|
defaults:
|
2013-10-09 10:55:15 +00:00
|
|
|
_title: 'Edit'
|
2013-06-27 11:36:30 +00:00
|
|
|
_entity_form: 'comment.default'
|
|
|
|
requirements:
|
|
|
|
_entity_access: 'comment.update'
|
2015-11-13 01:47:26 +00:00
|
|
|
comment: \d+
|
2013-05-04 00:37:25 +00:00
|
|
|
|
2013-09-15 19:59:49 +00:00
|
|
|
comment.approve:
|
2013-09-16 05:06:19 +00:00
|
|
|
path: '/comment/{comment}/approve'
|
2013-06-27 11:36:30 +00:00
|
|
|
defaults:
|
2013-10-09 10:55:15 +00:00
|
|
|
_title: 'Approve'
|
2014-11-20 09:47:06 +00:00
|
|
|
_controller: '\Drupal\comment\Controller\CommentController::commentApprove'
|
2013-06-27 11:36:30 +00:00
|
|
|
entity_type: 'comment'
|
|
|
|
requirements:
|
|
|
|
_entity_access: 'comment.approve'
|
2013-12-04 04:27:53 +00:00
|
|
|
_csrf_token: 'TRUE'
|
2015-11-13 01:47:26 +00:00
|
|
|
comment: \d+
|
2013-06-29 14:20:25 +00:00
|
|
|
|
2014-08-04 17:19:44 +00:00
|
|
|
entity.comment.canonical:
|
2013-09-16 05:06:19 +00:00
|
|
|
path: '/comment/{comment}'
|
2013-06-29 14:20:25 +00:00
|
|
|
defaults:
|
2015-02-16 22:43:15 +00:00
|
|
|
_title_callback: '\Drupal\comment\Controller\CommentController::commentPermalinkTitle'
|
2013-06-29 14:20:25 +00:00
|
|
|
_controller: '\Drupal\comment\Controller\CommentController::commentPermalink'
|
|
|
|
requirements:
|
|
|
|
_entity_access: 'comment.view'
|
2015-11-13 01:47:26 +00:00
|
|
|
comment: \d+
|
2013-09-10 08:55:49 +00:00
|
|
|
|
2014-08-04 17:19:44 +00:00
|
|
|
entity.comment.delete_form:
|
2013-09-16 05:06:19 +00:00
|
|
|
path: '/comment/{comment}/delete'
|
2013-08-31 06:30:35 +00:00
|
|
|
defaults:
|
2013-10-09 10:55:15 +00:00
|
|
|
_title: 'Delete'
|
2013-08-31 06:30:35 +00:00
|
|
|
_entity_form: 'comment.delete'
|
|
|
|
requirements:
|
|
|
|
_entity_access: 'comment.delete'
|
2015-11-13 01:47:26 +00:00
|
|
|
comment: \d+
|
2013-09-10 08:55:49 +00:00
|
|
|
|
Issue #1986606 by jibran, pcambra, vijaycs85, dawehner, andypost, mbovan, Arla, adnen, vprocessor, tkuldeep17, xjm, kim.pepper, dobe, snig, larowlan, miro_dietiker, tim.plunkett, Berdir, Lendude, plach, olli, damiankloip: Convert the comments administration screen to a view
2017-07-29 06:55:37 +00:00
|
|
|
comment.multiple_delete_confirm:
|
|
|
|
path: '/admin/content/comment/delete'
|
|
|
|
defaults:
|
|
|
|
_title: 'Delete'
|
|
|
|
_form: '\Drupal\comment\Form\ConfirmDeleteMultiple'
|
2018-01-26 14:18:10 +00:00
|
|
|
entity_type_id: 'comment'
|
Issue #1986606 by jibran, pcambra, vijaycs85, dawehner, andypost, mbovan, Arla, adnen, vprocessor, tkuldeep17, xjm, kim.pepper, dobe, snig, larowlan, miro_dietiker, tim.plunkett, Berdir, Lendude, plach, olli, damiankloip: Convert the comments administration screen to a view
2017-07-29 06:55:37 +00:00
|
|
|
requirements:
|
2018-01-26 14:18:10 +00:00
|
|
|
_entity_delete_multiple_access: 'comment'
|
|
|
|
|
|
|
|
entity.comment.delete_multiple_form:
|
|
|
|
path: '/admin/content/comment/delete'
|
|
|
|
defaults:
|
|
|
|
_title: 'Delete'
|
|
|
|
_form: '\Drupal\comment\Form\ConfirmDeleteMultiple'
|
|
|
|
entity_type_id: 'comment'
|
|
|
|
requirements:
|
|
|
|
_entity_delete_multiple_access: 'comment'
|
Issue #1986606 by jibran, pcambra, vijaycs85, dawehner, andypost, mbovan, Arla, adnen, vprocessor, tkuldeep17, xjm, kim.pepper, dobe, snig, larowlan, miro_dietiker, tim.plunkett, Berdir, Lendude, plach, olli, damiankloip: Convert the comments administration screen to a view
2017-07-29 06:55:37 +00:00
|
|
|
|
2013-09-15 19:59:49 +00:00
|
|
|
comment.reply:
|
2014-08-26 04:31:26 +00:00
|
|
|
path: '/comment/reply/{entity_type}/{entity}/{field_name}/{pid}'
|
2013-09-10 08:55:49 +00:00
|
|
|
defaults:
|
2014-11-20 09:47:06 +00:00
|
|
|
_controller: '\Drupal\comment\Controller\CommentController::getReplyForm'
|
2013-09-27 15:34:47 +00:00
|
|
|
_title: 'Add new comment'
|
2013-09-10 08:55:49 +00:00
|
|
|
pid: ~
|
|
|
|
requirements:
|
2015-05-20 09:40:58 +00:00
|
|
|
_custom_access: '\Drupal\comment\Controller\CommentController::replyFormAccess'
|
2014-08-26 04:31:26 +00:00
|
|
|
options:
|
|
|
|
parameters:
|
|
|
|
entity:
|
|
|
|
type: entity:{entity_type}
|
2013-09-11 13:27:11 +00:00
|
|
|
|
2013-09-15 19:59:49 +00:00
|
|
|
comment.new_comments_node_links:
|
2013-09-16 05:06:19 +00:00
|
|
|
path: '/comments/render_new_comments_node_links'
|
2013-09-11 13:27:11 +00:00
|
|
|
defaults:
|
|
|
|
_controller: '\Drupal\comment\Controller\CommentController::renderNewCommentsNodeLinks'
|
|
|
|
requirements:
|
|
|
|
_permission: 'access content'
|
2013-09-27 15:34:47 +00:00
|
|
|
|
2013-10-01 20:15:12 +00:00
|
|
|
comment.node_redirect:
|
|
|
|
path: '/comment/{node}/reply'
|
|
|
|
defaults:
|
2019-09-17 10:30:36 +00:00
|
|
|
_controller: '\Drupal\comment\Controller\CommentController::redirectNode'
|
2013-10-01 20:15:12 +00:00
|
|
|
requirements:
|
|
|
|
_entity_access: 'node.view'
|
|
|
|
_module_dependencies: 'node'
|
2015-11-13 01:47:26 +00:00
|
|
|
node: \d+
|
2014-06-13 09:34:04 +00:00
|
|
|
|
2015-01-19 09:37:11 +00:00
|
|
|
entity.comment_type.collection:
|
2014-06-13 09:34:04 +00:00
|
|
|
path: '/admin/structure/comment'
|
|
|
|
defaults:
|
|
|
|
_entity_list: 'comment_type'
|
|
|
|
_title: 'Comment types'
|
|
|
|
requirements:
|
|
|
|
_permission: 'administer comment types'
|
|
|
|
options:
|
|
|
|
_admin_route: TRUE
|
|
|
|
|
2014-08-04 17:19:44 +00:00
|
|
|
entity.comment_type.delete_form:
|
2014-06-13 09:34:04 +00:00
|
|
|
path: '/admin/structure/comment/manage/{comment_type}/delete'
|
|
|
|
defaults:
|
|
|
|
_entity_form: 'comment_type.delete'
|
|
|
|
_title: 'Delete'
|
|
|
|
requirements:
|
|
|
|
_entity_access: 'comment_type.delete'
|
|
|
|
options:
|
|
|
|
_admin_route: TRUE
|
|
|
|
|
2014-08-04 17:19:44 +00:00
|
|
|
entity.comment_type.add_form:
|
2014-06-13 09:34:04 +00:00
|
|
|
path: '/admin/structure/comment/types/add'
|
|
|
|
defaults:
|
|
|
|
_entity_form: 'comment_type.add'
|
2015-01-17 20:56:44 +00:00
|
|
|
_title: 'Add comment type'
|
2014-06-13 09:34:04 +00:00
|
|
|
requirements:
|
|
|
|
_permission: 'administer comment types'
|
|
|
|
options:
|
|
|
|
_admin_route: TRUE
|
|
|
|
|
2014-08-04 17:19:44 +00:00
|
|
|
entity.comment_type.edit_form:
|
2014-06-13 09:34:04 +00:00
|
|
|
path: '/admin/structure/comment/manage/{comment_type}'
|
|
|
|
defaults:
|
|
|
|
_entity_form: 'comment_type.edit'
|
2023-07-19 13:37:18 +00:00
|
|
|
_title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
|
2014-06-13 09:34:04 +00:00
|
|
|
requirements:
|
|
|
|
_entity_access: 'comment_type.update'
|
|
|
|
options:
|
|
|
|
_admin_route: TRUE
|