You are here

function sms_clickatell_menu in SMS Framework 6

Implement hook_menu()

Return value

Drupal menu items array

File

modules/sms_clickatell/sms_clickatell.module, line 64
Clickatell gateway module for Drupal SMS Framework. Outbound+Inbound+Receipts

Code

function sms_clickatell_menu() {
  $items = array();
  $items['sms/clickatell/receiver'] = array(
    'title' => 'Clickatell SMS message receiver',
    'page callback' => 'sms_clickatell_receive_message',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items['sms/clickatell/receipt'] = array(
    'title' => 'Clickatell SMS receipt receiver',
    'page callback' => 'sms_clickatell_receive_receipt',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}