function sms_blast_form in SMS Framework 6
Same name and namespace in other branches
- 5 modules/sms_blast/sms_blast.module \sms_blast_form()
- 6.2 modules/sms_blast/sms_blast.module \sms_blast_form()
- 7 modules/sms_blast/sms_blast.module \sms_blast_form()
Display the 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 32 - 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;
}