You are here

function sms_blast_form in SMS Framework 5

Same name and namespace in other branches
  1. 6.2 modules/sms_blast/sms_blast.module \sms_blast_form()
  2. 6 modules/sms_blast/sms_blast.module \sms_blast_form()
  3. 7 modules/sms_blast/sms_blast.module \sms_blast_form()
1 string reference to 'sms_blast_form'
sms_blast_menu in modules/sms_blast/sms_blast.module
Implementation of hook_menu().

File

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

Code

function sms_blast_form() {
  $form['message'] = array(
    '#type' => 'textarea',
    '#title' => t('Message'),
    '#cols' => 60,
    '#rows' => 5,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Send'),
  );
  return $form;
}