function blockreference_menu in Block reference 7
Same name and namespace in other branches
- 6 blockreference.module \blockreference_menu()
- 7.2 blockreference.module \blockreference_menu()
Implements hook_menu().
File
- ./
blockreference.module, line 11 - Defines a field type for referencing a block from a node.
Code
function blockreference_menu() {
$items = array();
$items['blockreference/autocomplete/%/%/%'] = array(
'title' => 'blockreference autocomplete',
'page callback' => 'blockreference_autocomplete',
'page arguments' => array(
2,
3,
4,
),
'access callback' => 'blockreference_autocomplete_access',
'access arguments' => array(
2,
3,
),
'type' => MENU_CALLBACK,
);
return $items;
}