You are here

function support_reference_menu in Support Ticketing System 7

Same name and namespace in other branches
  1. 6 support_reference/support_reference.module \support_reference_menu()

Implements hook_menu().

File

support_reference/support_reference.module, line 11
Support ticket references.

Code

function support_reference_menu() {
  $items = array();
  $items['support_reference/autocomplete/%support_client/%'] = array(
    'title' => 'Autocomplete ticket reference',
    'page callback' => 'support_reference_autocomplete',
    'page arguments' => array(
      2,
      3,
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'edit support ticket references',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}