You are here

function _batch_test_batch_0 in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/batch_test/batch_test.module \_batch_test_batch_0()
  2. 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;
}