You are here

cms_core.features.menu_links.inc in Glazed CMS Core 7

File

cms_core.features.menu_links.inc
View source
<?php

/**
 * @file
 * cms_core.features.menu_links.inc
 */

/**
 * Implements hook_menu_default_menu_links().
 */
function cms_core_menu_default_menu_links() {
  $menu_links = array();

  // Exported menu link: menu-footer-menu_home:<front>.
  $menu_links['menu-footer-menu_home:<front>'] = array(
    'menu_name' => 'menu-footer-menu',
    'link_path' => '<front>',
    'router_path' => '',
    'link_title' => 'Home',
    'options' => array(
      'attributes' => array(
        'title' => '',
      ),
      'identifier' => 'menu-footer-menu_home:<front>',
    ),
    'module' => 'menu',
    'hidden' => 0,
    'external' => 1,
    'has_children' => 0,
    'expanded' => 0,
    'weight' => -50,
    'customized' => 1,
  );

  // Exported menu link: menu-footer-menu_log-in:user/login.
  $menu_links['menu-footer-menu_log-in:user/login'] = array(
    'menu_name' => 'menu-footer-menu',
    'link_path' => 'user/login',
    'router_path' => 'user/login',
    'link_title' => 'Log in',
    'options' => array(
      'attributes' => array(
        'title' => '',
      ),
      'identifier' => 'menu-footer-menu_log-in:user/login',
    ),
    'module' => 'menu',
    'hidden' => 0,
    'external' => 0,
    'has_children' => 0,
    'expanded' => 0,
    'weight' => -48,
    'customized' => 1,
  );

  // Exported menu link: menu-footer-menu_log-out:user/logout.
  $menu_links['menu-footer-menu_log-out:user/logout'] = array(
    'menu_name' => 'menu-footer-menu',
    'link_path' => 'user/logout',
    'router_path' => 'user/logout',
    'link_title' => 'Log out',
    'options' => array(
      'attributes' => array(
        'title' => '',
      ),
      'identifier' => 'menu-footer-menu_log-out:user/logout',
    ),
    'module' => 'menu',
    'hidden' => 0,
    'external' => 0,
    'has_children' => 0,
    'expanded' => 0,
    'weight' => -47,
    'customized' => 1,
  );

  // Translatables
  // Included for use with string extractors like potx.
  t('Home');
  t('Log in');
  t('Log out');
  return $menu_links;
}

Functions

Namesort descending Description
cms_core_menu_default_menu_links Implements hook_menu_default_menu_links().