You are here

function user_reference_menu in References 7.2

Implements hook_menu().

File

user_reference/user_reference.module, line 11
Defines a field type for referencing a user from a node.

Code

function user_reference_menu() {
  $items['user_reference/autocomplete/%/%/%'] = array(
    'page callback' => 'user_reference_autocomplete',
    'page arguments' => array(
      2,
      3,
      4,
    ),
    'access callback' => 'reference_autocomplete_access',
    'access arguments' => array(
      2,
      3,
      4,
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}