Skip to content

Commit

Permalink
Add Source code link to menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
georgjaehnig committed Feb 14, 2017
1 parent 4568ead commit c81c649
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
Expand Up @@ -405,7 +405,28 @@ function serchilo_features_menu_default_menu_links() {
'customized' => 1,
'parent_identifier' => 'main-menu_browse:browse',
);
// Exported menu link: main-menu_tags:tags
// Exported menu link: main-menu_source-code:help/code.
$menu_links['main-menu_source-code:help/code'] = array(
'menu_name' => 'main-menu',
'link_path' => 'help/code',
'router_path' => 'help/code',
'link_title' => 'Source code',
'options' => array(
'attributes' => array(
'title' => '',
),
'identifier' => 'main-menu_source-code:help/code',
),
'module' => 'menu',
'hidden' => 0,
'external' => 0,
'has_children' => 0,
'expanded' => 0,
'weight' => 0,
'customized' => 1,
'parent_identifier' => 'main-menu_help:help',
);
// Exported menu link: main-menu_tags:tags.
$menu_links['main-menu_tags:tags'] = array(
'menu_name' => 'main-menu',
'link_path' => 'tags',
Expand Down Expand Up @@ -568,9 +589,9 @@ function serchilo_features_menu_default_menu_links() {
t('Register');
t('Shortcut URLs');
t('Shortcuts');
t('Source code');
t('Tags');
t('User account');


return $menu_links;
}
1 change: 1 addition & 0 deletions modules/serchilo_features/serchilo_features.info
Expand Up @@ -317,6 +317,7 @@ features[menu_links][] = main-menu_new-shortcuts:new/shortcuts
features[menu_links][] = main-menu_privacy-policy:help/privacy
features[menu_links][] = main-menu_shortcut-urls:help/url
features[menu_links][] = main-menu_shortcuts:shortcuts
features[menu_links][] = main-menu_source-code:help/code
features[menu_links][] = main-menu_tags:tags
features[menu_links][] = user-menu_edit:user/edit
features[menu_links][] = user-menu_log-out:user/logout
Expand Down

0 comments on commit c81c649

Please sign in to comment.