You are here

function background_batch_menu_alter in Background Process 6

Same name and namespace in other branches
  1. 7.2 background_batch/background_batch.module \background_batch_menu_alter()
  2. 7 background_batch/background_batch.module \background_batch_menu_alter()

Implements hook_menu_alter().

File

background_batch/background_batch.module, line 58
This module adds background processing to Drupals batch API

Code

function background_batch_menu_alter(&$items) {
  $items['batch'] = array(
    'page callback' => 'background_batch_page',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
    'file' => 'background_batch.pages.inc',
    'module' => 'background_batch',
  );
}