1 batch_test.module batch_test_theme_batch()

Menu callback: run a batch for testing theme used on the progress page.

File

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

Code

function batch_test_theme_batch() {
  batch_test_stack(NULL, TRUE);
  $batch = array(
    'operations' => array(
      array('_batch_test_theme_callback', array()),
    ),
  );
  batch_set($batch);
  batch_process('batch-test/redirect');
}