function background_batch_menu_alter in Background Process 7
Same name and namespace in other branches
- 6 background_batch/background_batch.module \background_batch_menu_alter()
- 7.2 background_batch/background_batch.module \background_batch_menu_alter()
Implements hook_menu_alter().
File
- background_batch/
background_batch.module, line 57 - 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,
'theme callback' => '_system_batch_theme',
'type' => MENU_CALLBACK,
'file' => 'background_batch.pages.inc',
'module' => 'background_batch',
);
}