function sms_admin_default_form_submit in SMS Framework 7
Same name and namespace in other branches
- 5 sms.module \sms_admin_default_form_submit()
- 6.2 sms.admin.inc \sms_admin_default_form_submit()
- 6 sms.admin.inc \sms_admin_default_form_submit()
Form submission handler for sms_admin_default_form().
See also
File
- ./
sms.admin.inc, line 45 - The admin sms functions.
Code
function sms_admin_default_form_submit($form, &$form_state) {
// Process form submission to set the default gateway
if ($form_state['values']['default']) {
drupal_set_message(t('Default gateway updated.'));
variable_set('sms_default_gateway', $form_state['values']['default']);
}
}