Mercurial > hg > rr-repo
diff rrr_features.features.menu_custom.inc @ 20:a0535331f47e
changed resources view
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Fri, 06 Dec 2013 11:36:04 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rrr_features.features.menu_custom.inc Fri Dec 06 11:36:04 2013 +0000 @@ -0,0 +1,50 @@ +<?php +/** + * @file + * rrr_features.features.menu_custom.inc + */ + +/** + * Implements hook_menu_default_menu_custom(). + */ +function rrr_features_menu_default_menu_custom() { + $menus = array(); + + // Exported menu: main-menu. + $menus['main-menu'] = array( + 'menu_name' => 'main-menu', + 'title' => 'Main menu', + 'description' => 'The <em>Main</em> menu is used on many sites to show the major sections of the site, often in a top navigation bar.', + ); + // Exported menu: management. + $menus['management'] = array( + 'menu_name' => 'management', + 'title' => 'Management', + 'description' => 'The <em>Management</em> menu contains links for administrative tasks.', + ); + // Exported menu: navigation. + $menus['navigation'] = array( + 'menu_name' => 'navigation', + 'title' => 'Navigation', + 'description' => 'The <em>Navigation</em> menu contains links intended for site visitors. Links are added to the <em>Navigation</em> menu automatically by some modules.', + ); + // Exported menu: user-menu. + $menus['user-menu'] = array( + 'menu_name' => 'user-menu', + 'title' => 'User menu', + 'description' => 'The <em>User</em> menu contains links related to the user\'s account, as well as the \'Log out\' link.', + ); + // Translatables + // Included for use with string extractors like potx. + t('Main menu'); + t('Management'); + t('Navigation'); + t('The <em>Main</em> menu is used on many sites to show the major sections of the site, often in a top navigation bar.'); + t('The <em>Management</em> menu contains links for administrative tasks.'); + t('The <em>Navigation</em> menu contains links intended for site visitors. Links are added to the <em>Navigation</em> menu automatically by some modules.'); + t('The <em>User</em> menu contains links related to the user\'s account, as well as the \'Log out\' link.'); + t('User menu'); + + + return $menus; +}