function sms_twilio_send_form in Twilio SMS Integration 6
Same name and namespace in other branches
- 7.2 sms_twilio.module \sms_twilio_send_form()
- 7 sms_twilio.module \sms_twilio_send_form()
Returns custom additions to be added to the send forms
1 string reference to 'sms_twilio_send_form'
- sms_twilio_gateway_info in ./sms_twilio.module 
- Implementation of hook_gateway_info().
File
- ./sms_twilio.module, line 72 
- Adds support for sending SMS messages using the Twilio gateway.
Code
function sms_twilio_send_form() {
  $form['country'] = array(
    '#type' => 'select',
    '#title' => t('Country'),
    '#multiple' => FALSE,
    '#options' => sms_twilio_country_codes(),
    '#default_value' => -1,
  );
  return $form;
}