1 layout.admin.inc layout_configure_region_page_submit($form, &$form_state)

Submit handler for layout_configure_region_page().

File

core/modules/layout/layout.admin.inc, line 3012
Administrative functions for Layout module.

Code

function layout_configure_region_page_submit($form, &$form_state) {
  $region_name = $form_state['region_name'];
  $form_state['layout']->settings[$region_name]['element'] = $form_state['values']['element'];
  $form_state['layout']->settings[$region_name]['classes'] = $form_state['values']['classes'];
  layout_set_layout_tempstore($form_state['layout']);
}