You are here

function nodehierarchy_widgets_menu in Node Hierarchy 6.3

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

Implementation of 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;
}