You are here

function splashify_ajax_what_mobile_mode_callback in Splashify 7

Same name and namespace in other branches
  1. 6 admin/splashify.admin.what.inc \splashify_ajax_what_mobile_mode_callback()

Ajax callback for the mobile mode dropdown.

The $form array element that is returned is the updated field that should be displayed.

1 string reference to 'splashify_ajax_what_mobile_mode_callback'
splashify_admin_what_form in admin/splashify.admin.what.inc
"What" settings tab.

File

admin/splashify.admin.what.inc, line 235
The admin "What" tab.

Code

function splashify_ajax_what_mobile_mode_callback($form, &$form_state) {
  return $form['mobile']['mode_value'];
}