-
Notifications
You must be signed in to change notification settings - Fork 0
/
mysearch.features.menu_links.inc
73 lines (69 loc) · 1.86 KB
/
mysearch.features.menu_links.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
/**
* @file
* mysearch.features.menu_links.inc
*/
/**
* Implements hook_menu_default_menu_links().
*/
function mysearch_menu_default_menu_links() {
$menu_links = array();
// Exported menu link: management:admin/help
$menu_links['management:admin/help'] = array(
'menu_name' => 'management',
'link_path' => 'admin/help',
'router_path' => 'admin/help',
'link_title' => 'Help',
'options' => array(
'attributes' => array(
'title' => 'Reference for usage, configuration, and modules.',
),
),
'module' => 'system',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '9',
'parent_path' => 'admin',
);
// Exported menu link: management:admin/structure/taxonomy
$menu_links['management:admin/structure/taxonomy'] = array(
'menu_name' => 'management',
'link_path' => 'admin/structure/taxonomy',
'router_path' => 'admin/structure/taxonomy',
'link_title' => 'Taxonomy',
'options' => array(
'attributes' => array(
'title' => 'Manage tagging, categorization, and classification of your content.',
),
),
'module' => 'system',
'hidden' => '0',
'external' => '0',
'has_children' => '1',
'expanded' => '0',
'weight' => '0',
'parent_path' => 'admin/structure',
);
// Exported menu link: user-menu:user/logout
$menu_links['user-menu:user/logout'] = array(
'menu_name' => 'user-menu',
'link_path' => 'user/logout',
'router_path' => 'user/logout',
'link_title' => 'Log out',
'options' => array(),
'module' => 'system',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '10',
);
// Translatables
// Included for use with string extractors like potx.
t('Help');
t('Log out');
t('Taxonomy');
return $menu_links;
}