Commit a03bf401 authored by Dries's avatar Dries

- Patch #857792 by Bojhan, aspilicious, andypost: add 'Home' link to main menu - standard profile.

parent c03800e0
......@@ -415,6 +415,14 @@ function standard_install() {
->fields(array('uid' => 1, 'rid' => $admin_role->rid))
->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.
menu_rebuild();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment