You are here

function module_builder_page_input_submit in Module Builder 7

Same name and namespace in other branches
  1. 6.2 includes/module_builder.pages.inc \module_builder_page_input_submit()
  2. 7.2 includes/module_builder.pages.inc \module_builder_page_input_submit()

submit page 1

1 string reference to 'module_builder_page_input_submit'
module_builder_page_input in includes/module_builder.pages.inc

File

includes/module_builder.pages.inc, line 287
Menu callback for main module builder page.

Code

function module_builder_page_input_submit($form, &$form_state) {
  $form_state['rebuild'] = TRUE;

  // 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]);
  }
}