Browse files

blaa menu init

  • Loading branch information...
1 parent 2639cec commit 69f37c2417d1b3c90f654333b7fbddc9eaa7b24d @mortendk mortendk committed Feb 15, 2012
View
33 modules/blaa_menu/blaa_menu.features.menu_links.inc
@@ -0,0 +1,33 @@
+<?php
+/**
+ * @file
+ * blaa_menu.features.menu_links.inc
+ */
+
+/**
+ * Implements hook_menu_default_menu_links().
+ */
+function blaa_menu_menu_default_menu_links() {
+ $menu_links = array();
+
+ // Exported menu link: main-menu:forum
+ $menu_links['main-menu:forum'] = array(
+ 'menu_name' => 'main-menu',
+ 'link_path' => 'forum',
+ 'router_path' => 'forum',
+ 'link_title' => 'Forum',
+ 'options' => array(),
+ 'module' => 'system',
+ 'hidden' => '0',
+ 'external' => '0',
+ 'has_children' => '1',
+ 'expanded' => '0',
+ 'weight' => '-48',
+ );
+ // Translatables
+ // Included for use with string extractors like potx.
+ t('Forum');
+
+
+ return $menu_links;
+}
View
11 modules/blaa_menu/blaa_menu.info
@@ -0,0 +1,11 @@
+name = "blaa menu"
+description = "menu"
+core = "7.x"
+package = "Features"
+php = "5.2.4"
+version = "7.x-1.0"
+project = "blaa_menu"
+dependencies[] = "blaa_showcase"
+dependencies[] = "features"
+dependencies[] = "menu"
+features[menu_links][] = "main-menu:forum"
View
6 modules/blaa_menu/blaa_menu.module
@@ -0,0 +1,6 @@
+<?php
+/**
+ * @file
+ */
+
+// Drupal needs this blank file.

0 comments on commit 69f37c2

Please sign in to comment.