1 | <?php |
||
2 | |||
3 | /** |
||
4 | * Implementation of hook_menu_default_menu_links(). |
||
5 | */ |
||
6 | function news_menu_default_menu_links() { |
||
7 | $menu_links = array(); |
||
8 | |||
9 | // Exported menu link: primary-links:news |
||
10 | $menu_links['primary-links:news'] = array( |
||
11 | 'menu_name' => 'primary-links', |
||
12 | 'link_path' => 'news', |
||
13 | 'router_path' => 'news', |
||
14 | 'link_title' => 'News', |
||
15 | 'options' => array( |
||
16 | 'attributes' => array( |
||
17 | 'title' => '', |
||
18 | ), |
||
19 | 'alter' => TRUE, |
||
20 | ), |
||
21 | 'module' => 'menu', |
||
22 | 'hidden' => '0', |
||
23 | 'external' => '0', |
||
24 | 'has_children' => '0', |
||
25 | 'expanded' => '1', |
||
26 | 'weight' => '-48', |
||
27 | ); |
||
28 | // Translatables |
||
29 | // Use bts() function to translate additional strings. |
||
30 | bts('News', array(), NULL, 'boinc:menu-link'); |
||
31 | |||
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
32 | |||
33 | return $menu_links; |
||
34 | } |
||
35 |