You are here

function nodehierarchy_menu_alter in Node Hierarchy 7.4

Same name and namespace in other branches
  1. 6.3 nodehierarchy.module \nodehierarchy_menu_alter()
  2. 6.2 nodehierarchy.module \nodehierarchy_menu_alter()
  3. 7.2 nodehierarchy.module \nodehierarchy_menu_alter()

Implements hook_menu_alter().

File

nodehierarchy_menu/nodehierarchy_menu.module, line 10
Create menu items for a node based on the Node Hierarchy.

Code

function nodehierarchy_menu_alter(&$items) {

  // Override the menu overview form to handle the potentially large number of links created by node hierarchy.
  $items['admin/structure/menu/manage/%menu']['page arguments'] = array(
    'nodehierarchy_menu_overview_form',
    4,
    5,
  );
}