function batch_test_no_form

7.x batch_test.module batch_test_no_form()

Menu callback: fire a batch process without a form submission.

1 string reference to 'batch_test_no_form'
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 312
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');
}