You are here

function breakpoints_multipliers_form_submit in Breakpoints 7

File

./breakpoints.admin.inc, line 1106
Breakpoints - admin settings

Code

function breakpoints_multipliers_form_submit($form, &$form_state) {
  $multipliers = array_values(array_filter($form_state['values']['multipliers']));
  array_unshift($multipliers, '1x');
  breakpoints_settings_save($multipliers);
  drupal_set_message(t('Multiplier settings are saved.'));
}