function batch_example_page

Related topics

1 string reference to 'batch_example_page'
batch_example_menu in batch_example/batch_example.module
Implementation of hook_menu().

File

batch_example/batch_example.module, line 157

Code

function batch_example_page() {
    batch_set(batch_example_batch_1());
    // We're not inside a form submission workflow, so we have to
    // manually trigger the batch processing - this issues a
    // drupal_goto and thus ends current request.
    // We also specify here where we want to redirect after batch
    // processing.
    batch_process('batch_example/example_1');
}