From 46b22c992fc68786848a790d83abd755d9191731 Mon Sep 17 00:00:00 2001
From: Tim Steiner <tsteiner2@unl.edu>
Date: Thu, 11 Nov 2010 19:38:23 +0000
Subject: [PATCH] In the UNL site profile, make the "Home" link expanded by
 default

git-svn-id: file:///tmp/wdn_thm_drupal/trunk@316 20a16fea-79d4-4915-8869-1ea9d5ebf173
---
 profiles/unl_profile/unl_profile.install | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/profiles/unl_profile/unl_profile.install b/profiles/unl_profile/unl_profile.install
index f65a5cd3..f971bdb3 100644
--- a/profiles/unl_profile/unl_profile.install
+++ b/profiles/unl_profile/unl_profile.install
@@ -211,7 +211,10 @@ EOF;
     // End adding custom blocks
     
     
-    
+    // Set the "Home" menu link to be expanded by default
+    $links = menu_load_links('main-menu');
+    $links[0]['expanded'] = 1;
+    menu_link_save($links[0]);
     
     
 
-- 
GitLab