function entityreference_menu in Entity reference 7
Same name and namespace in other branches
- 8 entityreference.module \entityreference_menu()
Implements hook_menu().
File
- ./
entityreference.module, line 114 - Entityreference primary module file.
Code
function entityreference_menu() {
$items = array();
$items['entityreference/autocomplete/single/%/%/%'] = array(
'title' => 'Entity 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,
);
$items['entityreference/autocomplete/tags/%/%/%'] = array(
'title' => 'Entity 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,
);
return $items;
}