You are here

function userreference_menu in Content Construction Kit (CCK) 6.3

Same name and namespace in other branches
  1. 5 userreference.module \userreference_menu()
  2. 6 modules/userreference/userreference.module \userreference_menu()
  3. 6.2 modules/userreference/userreference.module \userreference_menu()

Implementation of hook_menu().

File

modules/userreference/userreference.module, line 16
Defines a field type for referencing a user from a node.

Code

function userreference_menu() {
  $items = array();
  $items['userreference/autocomplete'] = array(
    'title' => 'Userreference autocomplete',
    'page callback' => 'userreference_autocomplete',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}