2013-01-10 04:17:37 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Implementation of hook_menu_default_menu_links().
|
|
|
|
*/
|
|
|
|
function news_menu_default_menu_links() {
|
|
|
|
$menu_links = array();
|
|
|
|
|
|
|
|
// Exported menu link: primary-links:news
|
|
|
|
$menu_links['primary-links:news'] = array(
|
|
|
|
'menu_name' => 'primary-links',
|
|
|
|
'link_path' => 'news',
|
|
|
|
'router_path' => 'news',
|
2015-07-08 14:56:42 +00:00
|
|
|
'link_title' => 'News',
|
2013-01-10 04:17:37 +00:00
|
|
|
'options' => array(
|
|
|
|
'attributes' => array(
|
|
|
|
'title' => '',
|
|
|
|
),
|
2015-07-08 14:56:42 +00:00
|
|
|
'alter' => TRUE,
|
2013-01-10 04:17:37 +00:00
|
|
|
),
|
|
|
|
'module' => 'menu',
|
|
|
|
'hidden' => '0',
|
|
|
|
'external' => '0',
|
|
|
|
'has_children' => '0',
|
|
|
|
'expanded' => '1',
|
2013-05-17 08:37:59 +00:00
|
|
|
'weight' => '-48',
|
2013-01-10 04:17:37 +00:00
|
|
|
);
|
|
|
|
// Translatables
|
2017-04-03 10:07:51 +00:00
|
|
|
// Use bts() function to translate additional strings.
|
2017-03-03 20:27:26 +00:00
|
|
|
bts('News', array(), NULL, 'boinc:menu-link');
|
2013-01-10 04:17:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
return $menu_links;
|
|
|
|
}
|