- Patch #164330 by Crell et al: restore menu classes.
parent
a0a97f2f14
commit
0351f4ca5d
|
@ -1050,7 +1050,9 @@ function menu_navigation_links($menu_name, $level = 0) {
|
||||||
$l = $item['link']['options'];
|
$l = $item['link']['options'];
|
||||||
$l['href'] = $item['link']['href'];
|
$l['href'] = $item['link']['href'];
|
||||||
$l['title'] = $item['link']['title'];
|
$l['title'] = $item['link']['title'];
|
||||||
$links[] = $l;
|
$l['attributes']['id'] = $item['link']['mlid'];
|
||||||
|
// Keyed with unique menu id to generate classes from theme_links().
|
||||||
|
$links['menu-'. $item['link']['mlid']] = $l;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $links;
|
return $links;
|
||||||
|
|
Loading…
Reference in New Issue