You are here

function twilio_send_sms_to_user_action_form in Twilio 7

Configuration form for the send sms to user action.

File

./twilio.actions.inc, line 35
Twilio Actions.

Code

function twilio_send_sms_to_user_action_form($context) {
  $form['message'] = array(
    '#type' => 'textarea',
    '#title' => t('SMS Message'),
    '#required' => TRUE,
    '#description' => t('Enter the message you would like to send.'),
  );
  $form['media'] = array(
    '#type' => 'textfield',
    '#title' => t('Media URL'),
    '#description' => t('URL to a media file you wish to send.'),
  );
  return $form;
}