You are here

function nodereference_menu in Content Construction Kit (CCK) 6

Same name and namespace in other branches
  1. 5 nodereference.module \nodereference_menu()
  2. 6.3 modules/nodereference/nodereference.module \nodereference_menu()
  3. 6.2 modules/nodereference/nodereference.module \nodereference_menu()

Implementation of hook_menu().

File

modules/nodereference/nodereference.module, line 11
Defines a field type for referencing one node from another.

Code

function nodereference_menu() {
  $items = array();
  $items['nodereference/autocomplete'] = array(
    'title' => 'Nodereference autocomplete',
    'page callback' => 'nodereference_autocomplete',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}