function form_test_batch_callback in SimpleTest 7
Submits form_test_mock_form using drupal_form_submit using the given $value.
1 string reference to 'form_test_batch_callback'
- form_test_drupal_form_submit_batch_api in tests/
form_test.module - Page callback for the batch/drupal_form_submit interaction test.
File
- tests/
form_test.module, line 235 - Helper module for the form API tests.
Code
function form_test_batch_callback($value) {
$state['values']['test_value'] = $value;
drupal_form_submit('form_test_mock_form', $state);
}