- Patch #857792 by Bojhan, aspilicious, andypost: add 'Home' link to main menu - standard profile.
parent
c03800e0cd
commit
a03bf401b6
|
@ -415,6 +415,14 @@ function standard_install() {
|
||||||
->fields(array('uid' => 1, 'rid' => $admin_role->rid))
|
->fields(array('uid' => 1, 'rid' => $admin_role->rid))
|
||||||
->execute();
|
->execute();
|
||||||
|
|
||||||
|
// Create a Home link in the main menu.
|
||||||
|
$item = array(
|
||||||
|
'link_title' => 'Home',
|
||||||
|
'link_path' => '<front>',
|
||||||
|
'menu_name' => 'main-menu',
|
||||||
|
);
|
||||||
|
menu_link_save($item);
|
||||||
|
|
||||||
// Update the menu router information.
|
// Update the menu router information.
|
||||||
menu_rebuild();
|
menu_rebuild();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue