function _batch_test_nested_batch_callback
Same name in other branches
- 9 core/modules/system/tests/modules/batch_test/batch_test.callbacks.inc \_batch_test_nested_batch_callback()
- 8.9.x core/modules/system/tests/modules/batch_test/batch_test.callbacks.inc \_batch_test_nested_batch_callback()
- 10 core/modules/system/tests/modules/batch_test/batch_test.callbacks.inc \_batch_test_nested_batch_callback()
- 11.x core/modules/system/tests/modules/batch_test/batch_test.callbacks.inc \_batch_test_nested_batch_callback()
Implements callback_batch_operation().
Batch operation setting up its own batch.
1 string reference to '_batch_test_nested_batch_callback'
- _batch_test_batch_4 in modules/
simpletest/ tests/ batch_test.module - Batch 4: batch within a batch.
File
-
modules/
simpletest/ tests/ batch_test.callbacks.inc, line 81
Code
function _batch_test_nested_batch_callback() {
batch_test_stack('setting up batch 2');
batch_set(_batch_test_batch_2());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.