function module_builder_page_input_submit in Module Builder 7.2
Same name and namespace in other branches
- 6.2 includes/module_builder.pages.inc \module_builder_page_input_submit()
- 7 includes/module_builder.pages.inc \module_builder_page_input_submit()
Form submit handler for page 1
1 string reference to 'module_builder_page_input_submit'
- module_builder_page_input in includes/
module_builder.pages.inc - Form builder for page 1.
File
- includes/
module_builder.pages.inc, line 239 - Menu callback for main module builder page.
Code
function module_builder_page_input_submit($form, &$form_state) {
// Trigger multistep.
$form_state['rebuild'] = TRUE;
// Set the next step.
$form_state['step'] = 'generate';
// stash input.... these values will follow us around everywhere like a little dog...
$form_state['storage']['input'] = $form_state['values'];
foreach (array(
'generate',
'generate_module',
'form_build_id',
'form_token',
'form_id',
) as $key) {
unset($form_state['storage']['input'][$key]);
}
}