You are here

function background_batch_page in Background Process 6

Same name and namespace in other branches
  1. 7.2 background_batch/background_batch.pages.inc \background_batch_page()
  2. 7 background_batch/background_batch.pages.inc \background_batch_page()

Default page callback for batches.

1 string reference to 'background_batch_page'
background_batch_menu_alter in background_batch/background_batch.module
Implements hook_menu_alter().

File

background_batch/background_batch.pages.inc, line 72
Pages for background batch.

Code

function background_batch_page() {
  require_once 'includes/batch.inc';
  $output = _background_batch_page();
  if ($output === FALSE) {
    drupal_access_denied();
  }
  elseif (isset($output)) {

    // Force a page without blocks or messages to
    // display a list of collected messages later.
    print theme('page', $output, FALSE, FALSE);
  }
}