1 layout.flexible.inc | layout_flexible_template_edit_region_style_submit($form, &$form_state) |
Submit callback to change the region count.
See also
layout_flexible_template_region_style_select()
File
- core/
modules/ layout/ layout.flexible.inc, line 780 - Provides configurable (flexible) layout templates.
Code
function layout_flexible_template_edit_region_style_submit($form, &$form_state) {
// Remove the current region style when switching between region counts.
$form_state['input']['region_style'] = NULL;
$form_state['rebuild'] = TRUE;
}