You are here

function mobile_switch_settings_form_submit in Mobile Switch 6

Same name and namespace in other branches
  1. 7.2 includes/mobile_switch.admin.inc \mobile_switch_settings_form_submit()
  2. 7 includes/mobile_switch.admin.inc \mobile_switch_settings_form_submit()

Form submission handler for multiple mobile switch setting forms.

See also

mobile_switch_settings_form()

mobile_switch_advanced_settings_form()

mobile_switch_development_settings_form()

3 string references to 'mobile_switch_settings_form_submit'
mobile_switch_advanced_settings_form in includes/mobile_switch.admin.inc
Form constructor for the Advanced settings form.
mobile_switch_development_settings_form in includes/mobile_switch.admin.inc
Form constructor for the Development settings form.
mobile_switch_settings_form in includes/mobile_switch.admin.inc
Form constructor for the Basic settings form.

File

includes/mobile_switch.admin.inc, line 230
Administrative page callbacks for the Mobile Switch module.

Code

function mobile_switch_settings_form_submit($form, &$form_state) {

  // It exist problems if used a "mobile jQuery" based theme as mobile theme.
  // This problems cannot be solved here.
  drupal_flush_all_caches();
  drupal_set_message(t('Caches cleared.'), 'status');
}