Issue #2188097 by olli: "Comment forms" links to admin/content/comment.
parent
2bb0f6b965
commit
9d5d0eab42
|
@ -203,12 +203,18 @@ function comment_menu() {
|
||||||
* Implements hook_menu_link_defaults().
|
* Implements hook_menu_link_defaults().
|
||||||
*/
|
*/
|
||||||
function comment_menu_link_defaults() {
|
function comment_menu_link_defaults() {
|
||||||
$links['comment.admin.content'] = array(
|
$links['comment.admin.content.comment'] = array(
|
||||||
'link_title' => 'Comment forms',
|
'link_title' => 'Comments',
|
||||||
'route_name' => 'comment.admin',
|
'route_name' => 'comment.admin',
|
||||||
'parent' => 'system.admin.structure',
|
'parent' => 'node.admin.content',
|
||||||
'description' => 'List and edit site comments and the comment approval queue.',
|
'description' => 'List and edit site comments and the comment approval queue.',
|
||||||
);
|
);
|
||||||
|
$links['comment.admin.structure.comments'] = array(
|
||||||
|
'link_title' => 'Comment forms',
|
||||||
|
'route_name' => 'comment.bundle_list',
|
||||||
|
'parent' => 'system.admin.structure',
|
||||||
|
'description' => 'Manage fields and displays settings for comment forms.',
|
||||||
|
);
|
||||||
|
|
||||||
return $links;
|
return $links;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue