function homebox_save_form_submit in Homebox 7.3
Same name and namespace in other branches
- 6.3 homebox.module \homebox_save_form_submit()
- 6.2 homebox.module \homebox_save_form_submit()
- 7.2 homebox.module \homebox_save_form_submit()
File
- ./
homebox.module, line 523 - 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_state['values']['page'], $blocks);
}