Mercurial > hg > rr-repo
comparison 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 |
comparison
equal
deleted
inserted
replaced
19:664551cf9df2 | 20:a0535331f47e |
---|---|
1 <?php | |
2 /** | |
3 * @file | |
4 * rrr_features.features.menu_custom.inc | |
5 */ | |
6 | |
7 /** | |
8 * Implements hook_menu_default_menu_custom(). | |
9 */ | |
10 function rrr_features_menu_default_menu_custom() { | |
11 $menus = array(); | |
12 | |
13 // Exported menu: main-menu. | |
14 $menus['main-menu'] = array( | |
15 'menu_name' => 'main-menu', | |
16 'title' => 'Main menu', | |
17 '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.', | |
18 ); | |
19 // Exported menu: management. | |
20 $menus['management'] = array( | |
21 'menu_name' => 'management', | |
22 'title' => 'Management', | |
23 'description' => 'The <em>Management</em> menu contains links for administrative tasks.', | |
24 ); | |
25 // Exported menu: navigation. | |
26 $menus['navigation'] = array( | |
27 'menu_name' => 'navigation', | |
28 'title' => 'Navigation', | |
29 '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.', | |
30 ); | |
31 // Exported menu: user-menu. | |
32 $menus['user-menu'] = array( | |
33 'menu_name' => 'user-menu', | |
34 'title' => 'User menu', | |
35 'description' => 'The <em>User</em> menu contains links related to the user\'s account, as well as the \'Log out\' link.', | |
36 ); | |
37 // Translatables | |
38 // Included for use with string extractors like potx. | |
39 t('Main menu'); | |
40 t('Management'); | |
41 t('Navigation'); | |
42 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.'); | |
43 t('The <em>Management</em> menu contains links for administrative tasks.'); | |
44 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.'); | |
45 t('The <em>User</em> menu contains links related to the user\'s account, as well as the \'Log out\' link.'); | |
46 t('User menu'); | |
47 | |
48 | |
49 return $menus; | |
50 } |