You are here

function merci_staff_menu in MERCI (Manage Equipment Reservations, Checkout and Inventory) 8.2

Same name and namespace in other branches
  1. 6.2 modules/merci_staff/merci_staff.module \merci_staff_menu()
  2. 7.2 modules/merci_staff/merci_staff.module \merci_staff_menu()

@todo Please document this function.

See also

http://drupal.org/node/1354

File

modules/merci_staff/merci_staff.module, line 12
merci_staff functions

Code

function merci_staff_menu() {
  $items = array();
  if (module_exists('civicrm')) {
    $items['user/autocompletecivi'] = array(
      'title' => 'User autocomplete',
      'page callback' => 'merci_staff_autocomplete',
      'access callback' => 'user_access',
      'access arguments' => array(
        'access user profiles',
      ),
      'type' => MENU_CALLBACK,
    );
  }
  return $items;
}