From a03bf401b6bcfbff218c4913fd0cb6f8a7301ee8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 22 Jul 2010 23:39:14 +0000 Subject: - Patch #857792 by Bojhan, aspilicious, andypost: add 'Home' link to main menu - standard profile. --- profiles/standard/standard.install | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'profiles/standard/standard.install') diff --git a/profiles/standard/standard.install b/profiles/standard/standard.install index 45978df2d..d6e9f53ae 100644 --- a/profiles/standard/standard.install +++ b/profiles/standard/standard.install @@ -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' => '', + 'menu_name' => 'main-menu', + ); + menu_link_save($item); + // Update the menu router information. menu_rebuild(); -- cgit v1.2.3