You are here

function nodehierarchy_widgets_menu in Node Hierarchy 7.4

Same name and namespace in other branches
  1. 6.3 nodehierarchy_widgets/nodehierarchy_widgets.module \nodehierarchy_widgets_menu()
  2. 6.2 nodehierarchy_widgets/nodehierarchy_widgets.module \nodehierarchy_widgets_menu()
  3. 7.2 nodehierarchy_widgets/nodehierarchy_widgets.module \nodehierarchy_widgets_menu()

Implements hook_menu().

File

nodehierarchy_widgets/nodehierarchy_widgets.module, line 11
Alternative parent selector widgets for Node Hierarchy.

Code

function nodehierarchy_widgets_menu() {
  $items = array();
  $items['nodehierarchy/autocomplete/parent'] = array(
    'title' => 'Autocomplete',
    'access arguments' => array(
      'access content',
    ),
    'page callback' => 'nodehierarchy_widgets_autocomplete_parent',
    'type' => MENU_CALLBACK,
  );
  return $items;
}