You are here

function homebox_save_form_submit in Homebox 6.2

Same name and namespace in other branches
  1. 6.3 homebox.module \homebox_save_form_submit()
  2. 7.3 homebox.module \homebox_save_form_submit()
  3. 7.2 homebox.module \homebox_save_form_submit()

File

./homebox.module, line 443
Homebox main file, takes care of global functions settings constants, etc.

Code

function homebox_save_form_submit($form, $form_state) {
  parse_str($form_state['values']['blocks'], $blocks);
  foreach ($blocks as $key => $value) {
    parse_str($value, $block);
    $blocks[$key] = $block;
  }
  _homebox_save_user_settings($form['#parameters'][2], $blocks);
}