function batch_test_chained_form_submit_3
Submit handler #3 for the chained form.
1 string reference to 'batch_test_chained_form_submit_3'
- batch_test_chained_form in modules/
simpletest/ tests/ batch_test.module - Form with chained submit callbacks.
File
-
modules/
simpletest/ tests/ batch_test.module, line 232
Code
function batch_test_chained_form_submit_3($form, &$form_state) {
batch_test_stack('submit handler 3');
batch_test_stack('value = ' . $form_state['values']['value']);
$form_state['values']['value']++;
// This redirect should not be taken into account.
$form_state['redirect'] = 'should/be/discarded';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.