function nodereference_menu in Content Construction Kit (CCK) 6.2
Same name and namespace in other branches
- 5 nodereference.module \nodereference_menu()
- 6.3 modules/nodereference/nodereference.module \nodereference_menu()
- 6 modules/nodereference/nodereference.module \nodereference_menu()
Implementation of hook_menu().
File
- modules/
nodereference/ nodereference.module, line 16 - Defines a field type for referencing one node from another.
Code
function nodereference_menu() {
$items = array();
$items['nodereference/autocomplete'] = array(
'title' => 'Nodereference autocomplete',
'page callback' => 'nodereference_autocomplete',
'access callback' => 'nodereference_autocomplete_access',
'access arguments' => array(
2,
),
'type' => MENU_CALLBACK,
);
return $items;
}