diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module index 61b7881..3c1c74a 100644 --- a/core/modules/comment/comment.module +++ b/core/modules/comment/comment.module @@ -178,35 +178,18 @@ function comment_theme() { } /** - * Implements hook_menu(). - */ -function comment_menu() { - $items['admin/structure/comments'] = array( - 'title' => 'Comment forms', - 'description' => 'Manage fields and displays settings for comment forms.', - 'route_name' => 'comment.bundle_list', - ); - $items['admin/structure/comments/manage/%'] = array( - 'title' => 'Comment form', - 'route_name' => 'comment.bundle', - ); - $items['admin/content/comment'] = array( - 'title' => 'Comments', - 'description' => 'List and edit site comments and the comment approval queue.', - 'route_name' => 'comment.admin', - ); - - return $items; -} - -/** * Implements hook_menu_link_defaults(). */ function comment_menu_link_defaults() { - $links['comment.admin.content'] = array( + $links['comment.admin.structure.comments'] = array( 'link_title' => 'Comment forms', - 'route_name' => 'comment.admin', + 'route_name' => 'comment.bundle_list', 'parent' => 'system.admin.structure', + ); + $links['comment.admin.content'] = array( + 'link_title' => 'Comments', + 'route_name' => 'comment.admin', + 'parent' => 'node.admin.content', 'description' => 'List and edit site comments and the comment approval queue.', );