-
Notifications
You must be signed in to change notification settings - Fork 7
/
ding_frontend.features.menu_links.inc
123 lines (119 loc) · 3.05 KB
/
ding_frontend.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?php
/**
* @file
* ding_frontend.features.menu_links.inc
*/
/**
* Implements hook_menu_default_menu_links().
*/
function ding_frontend_menu_default_menu_links() {
$menu_links = array();
// Exported menu link: menu-tabs-menu_login:user
$menu_links['menu-tabs-menu_login:user'] = array(
'menu_name' => 'menu-tabs-menu',
'link_path' => 'user',
'router_path' => 'user',
'link_title' => 'Login',
'options' => array(
'attributes' => array(
'title' => '',
),
'identifier' => 'menu-tabs-menu_login:user',
),
'module' => 'menu',
'hidden' => 0,
'external' => 0,
'has_children' => 0,
'expanded' => 0,
'weight' => -48,
'customized' => 0,
);
// Exported menu link: menu-tabs-menu_logout:user/logout
$menu_links['menu-tabs-menu_logout:user/logout'] = array(
'menu_name' => 'menu-tabs-menu',
'link_path' => 'user/logout',
'router_path' => 'user/logout',
'link_title' => 'Logout',
'options' => array(
'attributes' => array(
'title' => '',
),
'identifier' => 'menu-tabs-menu_logout:user/logout',
),
'module' => 'menu',
'hidden' => 0,
'external' => 0,
'has_children' => 0,
'expanded' => 0,
'weight' => -46,
'customized' => 0,
);
// Exported menu link: menu-tabs-menu_menu:<front>
$menu_links['menu-tabs-menu_menu:<front>'] = array(
'menu_name' => 'menu-tabs-menu',
'link_path' => '<front>',
'router_path' => '',
'link_title' => 'Menu',
'options' => array(
'attributes' => array(
'title' => '',
),
'identifier' => 'menu-tabs-menu_menu:<front>',
),
'module' => 'menu',
'hidden' => 0,
'external' => 1,
'has_children' => 0,
'expanded' => 0,
'weight' => -49,
'customized' => 0,
);
// Exported menu link: menu-tabs-menu_search:search
$menu_links['menu-tabs-menu_search:search'] = array(
'menu_name' => 'menu-tabs-menu',
'link_path' => 'search',
'router_path' => 'search',
'link_title' => 'Search',
'options' => array(
'attributes' => array(
'title' => '',
),
'identifier' => 'menu-tabs-menu_search:search',
),
'module' => 'menu',
'hidden' => 0,
'external' => 0,
'has_children' => 0,
'expanded' => 0,
'weight' => -50,
'customized' => 0,
);
// Exported menu link: menu-tabs-menu_user-menu-mobile:node
$menu_links['menu-tabs-menu_user-menu-mobile:node'] = array(
'menu_name' => 'menu-tabs-menu',
'link_path' => 'node',
'router_path' => 'node',
'link_title' => 'User menu (mobile)',
'options' => array(
'attributes' => array(
'title' => '',
),
'identifier' => 'menu-tabs-menu_user-menu-mobile:node',
),
'module' => 'menu',
'hidden' => 0,
'external' => 0,
'has_children' => 0,
'expanded' => 0,
'weight' => -47,
'customized' => 0,
);
// Translatables
// Included for use with string extractors like potx.
t('Login');
t('Logout');
t('Menu');
t('Search');
t('User menu (mobile)');
return $menu_links;
}