2013-09-18 18:30:30 +00:00
|
|
|
comment.admin:
|
|
|
|
path: '/admin/content/comment'
|
|
|
|
defaults:
|
|
|
|
_title: 'Comments'
|
2014-01-02 20:28:04 +00:00
|
|
|
_content: '\Drupal\comment\Controller\AdminController::adminPage'
|
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'
|
2014-01-02 20:28:04 +00:00
|
|
|
_content: '\Drupal\comment\Controller\AdminController::adminPage'
|
2013-09-18 18:30:30 +00:00
|
|
|
type: 'approval'
|
|
|
|
requirements:
|
|
|
|
_permission: 'administer comments'
|
|
|
|
|
2013-09-15 19:59:49 +00:00
|
|
|
comment.edit_page:
|
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'
|
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'
|
2013-06-27 11:36:30 +00:00
|
|
|
_content: '\Drupal\comment\Controller\CommentController::commentApprove'
|
|
|
|
entity_type: 'comment'
|
|
|
|
requirements:
|
|
|
|
_entity_access: 'comment.approve'
|
2013-12-04 04:27:53 +00:00
|
|
|
_csrf_token: 'TRUE'
|
2013-06-29 14:20:25 +00:00
|
|
|
|
2013-09-15 19:59:49 +00:00
|
|
|
comment.permalink:
|
2013-09-16 05:06:19 +00:00
|
|
|
path: '/comment/{comment}'
|
2013-06-29 14:20:25 +00:00
|
|
|
defaults:
|
2013-10-09 10:55:15 +00:00
|
|
|
_title: 'Comment permalink'
|
2013-06-29 14:20:25 +00:00
|
|
|
_controller: '\Drupal\comment\Controller\CommentController::commentPermalink'
|
|
|
|
requirements:
|
|
|
|
_entity_access: 'comment.view'
|
2013-09-10 08:55:49 +00:00
|
|
|
|
2013-09-15 19:59:49 +00:00
|
|
|
comment.confirm_delete:
|
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'
|
2013-09-10 08:55:49 +00:00
|
|
|
|
2013-09-15 19:59:49 +00:00
|
|
|
comment.reply:
|
2013-10-07 15:09:41 +00:00
|
|
|
path: '/comment/reply/{entity_type}/{entity_id}/{field_name}/{pid}'
|
2013-09-10 08:55:49 +00:00
|
|
|
defaults:
|
|
|
|
_content: '\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:
|
2013-09-27 15:34:47 +00:00
|
|
|
_access: 'TRUE'
|
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
|
|
|
|
|
|
|
comment.bundle_list:
|
|
|
|
path: '/admin/structure/comments'
|
|
|
|
defaults:
|
|
|
|
_content: 'Drupal\comment\Controller\AdminController::overviewBundles'
|
2013-11-28 07:44:52 +00:00
|
|
|
_title: 'Comment forms'
|
2013-09-27 15:34:47 +00:00
|
|
|
requirements:
|
|
|
|
_permission: 'administer comments'
|
|
|
|
|
|
|
|
comment.bundle:
|
2013-10-17 11:51:51 +00:00
|
|
|
path: '/admin/structure/comments/manage/{bundle}'
|
2013-09-27 15:34:47 +00:00
|
|
|
defaults:
|
|
|
|
_content: 'Drupal\comment\Controller\AdminController::bundleInfo'
|
|
|
|
_title_callback: 'Drupal\comment\Controller\AdminController::bundleTitle'
|
|
|
|
requirements:
|
|
|
|
_access: 'FALSE'
|
2013-10-01 20:15:12 +00:00
|
|
|
|
|
|
|
comment.node_redirect:
|
|
|
|
path: '/comment/{node}/reply'
|
|
|
|
defaults:
|
|
|
|
_controller: 'Drupal\comment\Controller\CommentController::redirectNode'
|
|
|
|
requirements:
|
|
|
|
_entity_access: 'node.view'
|
|
|
|
_module_dependencies: 'node'
|