function text_noderef_menu in Text or Nodereference 7
Same name and namespace in other branches
- 6 text_noderef.module \text_noderef_menu()
Implements hook_menu().
File
- ./
text_noderef.module, line 10 - Text or nodereference field formatter for a text field and autocomplete widget.
Code
function text_noderef_menu() {
$items = array();
$items['text_noderef/%/%'] = array(
'title' => 'Text or Nodereference',
'page callback' => 'text_noderef_json',
'page arguments' => array(
1,
2,
),
'access callback' => 'text_noderef_access',
'access arguments' => array(
1,
2,
),
'type' => MENU_CALLBACK,
);
return $items;
}