-
Notifications
You must be signed in to change notification settings - Fork 0
/
mysearch.features.menu_custom.inc
50 lines (46 loc) · 1.83 KB
/
mysearch.features.menu_custom.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* @file
* mysearch.features.menu_custom.inc
*/
/**
* Implements hook_menu_default_menu_custom().
*/
function mysearch_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;
}