function system_batch_page

Default page callback for batches.

1 string reference to 'system_batch_page'
system_menu in modules/system/system.module
Implements hook_menu().

File

modules/system/system.admin.inc, line 2396

Code

function system_batch_page() {
    require_once DRUPAL_ROOT . '/includes/batch.inc';
    $output = _batch_page();
    if ($output === FALSE) {
        drupal_access_denied();
        drupal_exit();
    }
    elseif (isset($output)) {
        // Force a page without blocks or messages to
        // display a list of collected messages later.
        drupal_set_page_content($output);
        $page = element_info('page');
        $page['#show_messages'] = FALSE;
        return $page;
    }
}

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