Same name and namespace in other branches
  1. 10 core/modules/system/tests/modules/batch_test/batch_test.module \_batch_test_batch_0()
  2. 8.9.x core/modules/system/tests/modules/batch_test/batch_test.module \_batch_test_batch_0()
  3. 9 core/modules/system/tests/modules/batch_test/batch_test.module \_batch_test_batch_0()

Batch 0: no operation.

File

modules/simpletest/tests/batch_test.module, line 339
Helper module for the Batch API tests.

Code

function _batch_test_batch_0() {
  $batch = array(
    'operations' => array(),
    'finished' => '_batch_test_finished_0',
    'file' => drupal_get_path('module', 'batch_test') . '/batch_test.callbacks.inc',
  );
  return $batch;
}