1 entityreference.module | entityreference_menu() |
Implements hook_menu().
File
- core/
modules/ entityreference/ entityreference.module, line 67 - Entityreference primary module file.
Code
function entityreference_menu() {
$items = array();
$items['entityreference/autocomplete/single/%/%/%'] = array(
'title' => 'Reference Autocomplete',
'page callback' => 'entityreference_autocomplete_callback',
'page arguments' => array(2, 3, 4, 5),
'access callback' => 'entityreference_autocomplete_access_callback',
'access arguments' => array(2, 3, 4, 5),
'type' => MENU_CALLBACK,
'delivery callback' => 'backdrop_json_deliver',
);
$items['entityreference/autocomplete/tags/%/%/%'] = array(
'title' => 'Reference Autocomplete',
'page callback' => 'entityreference_autocomplete_callback',
'page arguments' => array(2, 3, 4, 5),
'access callback' => 'entityreference_autocomplete_access_callback',
'access arguments' => array(2, 3, 4, 5),
'type' => MENU_CALLBACK,
'delivery callback' => 'backdrop_json_deliver',
);
return $items;
}