You are here

function responsive_preview_admin_form_submit in Responsive Theme Preview 7

Form submit handler for responsive_preview_admin_form().

Parameters

$form: An associative array containing the structure of the form.

$form_state: An associative array containing the current state of the form.

See also

responsive_preview_admin_form()

responsive_preview_admin_formvalidate()

File

./responsive_preview.admin.inc, line 96
Administrative page callbacks for the responsive_preview module.

Code

function responsive_preview_admin_form_submit($form, &$form_state) {
  if ($form_state['values']['op'] == t('Save')) {
    responsive_preview_update_device_listing_values($form_state['values']['devices']);
  }
}