function _batch_test_nested_drupal_form_submit_callback
Same name in other branches
- 9 core/modules/system/tests/modules/batch_test/batch_test.module \_batch_test_nested_drupal_form_submit_callback()
- 8.9.x core/modules/system/tests/modules/batch_test/batch_test.module \_batch_test_nested_drupal_form_submit_callback()
- 10 core/modules/system/tests/modules/batch_test/batch_test.module \_batch_test_nested_drupal_form_submit_callback()
- 11.x core/modules/system/tests/modules/batch_test/batch_test.module \_batch_test_nested_drupal_form_submit_callback()
Batch operation: submits form_test_mock_form using drupal_form_submit().
1 string reference to '_batch_test_nested_drupal_form_submit_callback'
- batch_test_nested_drupal_form_submit in modules/
simpletest/ tests/ batch_test.module - Menu callback: programmatically submits a form within a batch.
File
-
modules/
simpletest/ tests/ batch_test.module, line 282
Code
function _batch_test_nested_drupal_form_submit_callback($value) {
$state['values']['test_value'] = $value;
drupal_form_submit('batch_test_mock_form', $state);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.