You are here

function sms_blast_menu in SMS Framework 5

Same name and namespace in other branches
  1. 6.2 modules/sms_blast/sms_blast.module \sms_blast_menu()
  2. 6 modules/sms_blast/sms_blast.module \sms_blast_menu()
  3. 7 modules/sms_blast/sms_blast.module \sms_blast_menu()

Implementation of hook_menu().

File

modules/sms_blast/sms_blast.module, line 11
Allows bulk text messages to be sent to registered users.

Code

function sms_blast_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'sms_blast',
      'title' => t('SMS Blast'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'sms_blast_form',
      ),
      'access' => user_access('send sms blasts'),
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}