function coffee_menu in Coffee 6
Same name and namespace in other branches
- 7.2 coffee.module \coffee_menu()
- 7 coffee.module \coffee_menu()
Implements hook_menu().
File
- ./
coffee.module, line 21 - Coffee primary module file
Code
function coffee_menu() {
// Define menu callback for ajax calls to handle the results.
$items['admin/coffee/result/%'] = array(
'title' => 'Coffee Result Handler',
'page callback' => 'coffee_result_handler',
'page arguments' => array(
3,
),
'access arguments' => array(
'access coffee',
),
'type' => MENU_CALLBACK,
);
return $items;
}