From 1377500ccc5250ec05b3ec5dc74be46783491867 Mon Sep 17 00:00:00 2001 From: bachy Date: Thu, 7 Feb 2013 16:09:28 +0100 Subject: [PATCH] new feature : main menu Signed-off-by: bachy --- ...materio_main_menu.features.menu_custom.inc | 28 +++++++++++++++++++ materio_main_menu/materio_main_menu.info | 7 +++++ materio_main_menu/materio_main_menu.module | 5 ++++ 3 files changed, 40 insertions(+) create mode 100644 materio_main_menu/materio_main_menu.features.menu_custom.inc create mode 100644 materio_main_menu/materio_main_menu.info create mode 100644 materio_main_menu/materio_main_menu.module diff --git a/materio_main_menu/materio_main_menu.features.menu_custom.inc b/materio_main_menu/materio_main_menu.features.menu_custom.inc new file mode 100644 index 00000000..51ea5291 --- /dev/null +++ b/materio_main_menu/materio_main_menu.features.menu_custom.inc @@ -0,0 +1,28 @@ + 'main-menu', + 'title' => 'Main menu', + 'description' => 'The Main menu is used on many sites to show the major sections of the site, often in a top navigation bar.', + 'language' => 'und', + 'i18n_mode' => '0', + ); + // Translatables + // Included for use with string extractors like potx. + t('Main menu'); + t('The Main menu is used on many sites to show the major sections of the site, often in a top navigation bar.'); + + + return $menus; +} diff --git a/materio_main_menu/materio_main_menu.info b/materio_main_menu/materio_main_menu.info new file mode 100644 index 00000000..1c01a856 --- /dev/null +++ b/materio_main_menu/materio_main_menu.info @@ -0,0 +1,7 @@ +name = materio main menu +core = 7.x +package = Materio +dependencies[] = features +dependencies[] = menu +features[features_api][] = api:1 +features[menu_custom][] = main-menu diff --git a/materio_main_menu/materio_main_menu.module b/materio_main_menu/materio_main_menu.module new file mode 100644 index 00000000..44788b07 --- /dev/null +++ b/materio_main_menu/materio_main_menu.module @@ -0,0 +1,5 @@ +