1 form_test.module form_test_form_rebuild_preserve_values_form_add_more($form, &$form_state)

Button submit handler for form_test_form_rebuild_preserve_values_form().

File

core/modules/simpletest/tests/form_test.module, line 1991
Helper module for the form API tests.

Code

function form_test_form_rebuild_preserve_values_form_add_more($form, &$form_state) {
  // Rebuild, to test preservation of input values.
  $form_state['storage']['add_more'] = TRUE;
  $form_state['rebuild'] = TRUE;
}