You are here

function node_reference_menu in References 7.2

Implements hook_menu().

File

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

Code

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