You are here

function menu_trail_by_path_menu in Menu Trail By Path 7.2

Same name and namespace in other branches
  1. 7.3 menu_trail_by_path.module \menu_trail_by_path_menu()

Implements hook_menu()

File

./menu_trail_by_path.module, line 93
Expand menu items and set active-trail according to current path.

Code

function menu_trail_by_path_menu() {
  $items = array();
  $items['admin/config/search/menu_trail_by_path'] = array(
    'title' => 'Menu trail by path',
    'description' => 'Configure menu trail by path module.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'menu_trail_by_path_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}