function batch_test_simple_form_submit

Submit handler for the simple form.

File

modules/simpletest/tests/batch_test.module, line 121

Code

function batch_test_simple_form_submit($form, &$form_state) {
    batch_test_stack(NULL, TRUE);
    $function = '_batch_test_' . $form_state['values']['batch'];
    batch_set($function());
    $form_state['redirect'] = 'batch-test/redirect';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.