You are here

function coffee_menu in Coffee 7

Same name and namespace in other branches
  1. 6 coffee.module \coffee_menu()
  2. 7.2 coffee.module \coffee_menu()

Implements hook_menu().

File

./coffee.module, line 26
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;
}