1 batch_test.module | batch_test_no_form() |
Menu callback: fire a batch process without a form submission.
File
- core/
modules/ simpletest/ tests/ batch_test.module, line 316 - Helper module for the Batch API tests.
Code
function batch_test_no_form() {
batch_test_stack(NULL, TRUE);
batch_set(_batch_test_batch_1());
batch_process('batch-test/redirect');
}