You are here

function context_breakpoint_admin_settings_form_submit in Context Breakpoint 7

File

./context_breakpoint.module, line 139
context_screenresolution.module Main module file.

Code

function context_breakpoint_admin_settings_form_submit($form, &$form_state) {
  $values = $form_state['values'];
  $settings = array(
    'admin_disable_reload' => (bool) $values['admin_disable_reload'],
    'save_resolution' => (bool) $values['save_resolution'],
    'breakpoints_in_url' => (bool) $values['breakpoints_in_url'],
  );
  variable_set(CONTEXT_BREAKPOINT_SETTINGS, $settings);
}