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
315793a7
Commit
315793a7
authored
Mar 29, 2012
by
Dries
Browse files
- Patch
#1452070
by aloyr: incorrect code comment in menu_block_info().
parent
01b40c02
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/menu/menu.module
View file @
315793a7
...
@@ -470,7 +470,7 @@ function menu_block_info() {
...
@@ -470,7 +470,7 @@ function menu_block_info() {
$blocks
=
array
();
$blocks
=
array
();
foreach
(
$menus
as
$name
=>
$title
)
{
foreach
(
$menus
as
$name
=>
$title
)
{
// Default "Navigation" block is handled by
user
.module.
// Default "Navigation" block is handled by
system
.module.
$blocks
[
$name
][
'info'
]
=
check_plain
(
$title
);
$blocks
[
$name
][
'info'
]
=
check_plain
(
$title
);
// Menu blocks can't be cached because each menu item can have
// Menu blocks can't be cached because each menu item can have
// a custom access callback. menu.inc manages its own caching.
// a custom access callback. menu.inc manages its own caching.
...
...
Write
Preview
Supports
Markdown
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