function layouter_choose_layout_form_submit in Layouter - WYSIWYG layout templates 7
Moves to the form of selected template.
File
- includes/
layouter.pages.inc, line 136 - File with pages callbacks.
Code
function layouter_choose_layout_form_submit($form, &$form_state) {
$form_state['object']->type = $form_state['values']['type'];
// Override where to go next based on the template selected.
$form_state['clicked_button']['#next'] = $form_state['values']['type'];
}