Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
b9f1a8e2
Commit
b9f1a8e2
authored
Feb 24, 2014
by
webchick
Browse files
Issue
#2188097
by rcaracaus, olli: 'Comment forms' links to admin/content/comment.
parent
04c9a71d
Changes
1
Show whitespace changes
Inline
Side-by-side
core/modules/comment/comment.module
View file @
b9f1a8e2
...
...
@@ -203,12 +203,18 @@ function comment_menu() {
* Implements hook_menu_link_defaults().
*/
function
comment_menu_link_defaults
()
{
$links
[
'comment.admin.content'
]
=
array
(
'link_title'
=>
'Comment
form
s'
,
$links
[
'comment.admin.content
.comment
'
]
=
array
(
'link_title'
=>
'Comments'
,
'route_name'
=>
'comment.admin'
,
'parent'
=>
'system.admin
.structure
'
,
'parent'
=>
\
Drupal
::
moduleHandler
()
->
moduleExists
(
'node'
)
?
'node.admin.content'
:
'system.admin'
,
'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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment