function nexmo_send_form in Nexmo SMS Gateway 7
Returns custom additions to be added to the send forms.
1 string reference to 'nexmo_send_form'
- nexmo_gateway_info in ./
nexmo.module - Implements hook_gateway_info().
File
- ./
nexmo.module, line 186 - Provides NEXMO implementation methods.
Code
function nexmo_send_form() {
$options = array(
"" => "- Select Country -",
) + sms_country_codes();
$form['country'] = array(
'#type' => 'select',
'#title' => t('Country'),
'#multiple' => FALSE,
'#options' => $options,
'#default_value' => -1,
'#required' => TRUE,
);
return $form;
}