function 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 modules/simpletest/tests/batch_test.module
Implement hook_menu().

File

modules/simpletest/tests/batch_test.module, line 476

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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.