You are here

function oa_notifications_menu in Open Atrium Notifications 7.2

Implements hook_menu().

File

./oa_notifications.module, line 36

Code

function oa_notifications_menu() {
  $items['oa_notifications/autocomplete/%'] = array(
    'title' => 'Autocomplete for notifications',
    'page callback' => 'oa_notifications_autocomplete_callback',
    'page arguments' => array(
      2,
    ),
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['oa_notifications/%ctools_js/remove/%node/%/%'] = array(
    'title' => 'Autocomplete for notifications',
    'page callback' => 'oa_notifications_remove_callback',
    'page arguments' => array(
      1,
      3,
      4,
      5,
    ),
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}