function sms_actions_send_action_submit in SMS Framework 6
Same name and namespace in other branches
- 6.2 modules/sms_actions/sms_actions.module \sms_actions_send_action_submit()
- 7 modules/sms_actions/sms_actions.module \sms_actions_send_action_submit()
Process sms_actions_send_action form submissions.
File
- modules/
sms_actions/ sms_actions.module, line 158 - Provides a "Send SMS" action and the ability to define custom triggers for incoming messages.
Code
function sms_actions_send_action_submit($form, &$form_state) {
// Process the HTML form to store configuration. The keyed array that
// we return will be serialized to the database.
$params = array(
'number' => $form_state['values']['number'],
'author' => $form_state['values']['author'],
'message' => $form_state['values']['message'],
);
return $params;
}