function batch_test_theme_batch
7.x batch_test.module | batch_test_theme_batch() |
Menu callback: run a batch for testing theme used on the progress page.
1 string reference to 'batch_test_theme_batch'
- batch_test_menu in drupal-7.x/
modules/ simpletest/ tests/ batch_test.module - Implement hook_menu().
File
- drupal-7.x/
modules/ simpletest/ tests/ batch_test.module, line 476 - 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');
}