Same name and namespace in other branches
- 10 core/modules/system/tests/modules/batch_test/batch_test.module \_batch_test_batch_0()
- 7.x modules/simpletest/tests/batch_test.module \_batch_test_batch_0()
- 9 core/modules/system/tests/modules/batch_test/batch_test.module \_batch_test_batch_0()
Batch 0: Does nothing.
File
- core/
modules/ system/ tests/ modules/ batch_test/ batch_test.module, line 22 - Helper module for the Batch API tests.
Code
function _batch_test_batch_0() {
$batch = [
'operations' => [],
'finished' => '_batch_test_finished_0',
'file' => drupal_get_path('module', 'batch_test') . '/batch_test.callbacks.inc',
'batch_test_id' => 'batch_0',
];
return $batch;
}