Skip to content
Snippets Groups Projects
Commit a03bf401 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent c03800e0
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment