public function BackgroundBatchContext::__construct in Background Process 6
Same name and namespace in other branches
- 7.2 background_batch/background_batch.module \BackgroundBatchContext::__construct()
- 7 background_batch/background_batch.module \BackgroundBatchContext::__construct()
File
- background_batch/
background_batch.module, line 269 - This module adds background processing to Drupals batch API
Class
- BackgroundBatchContext
- Class batch context. Automatically updates progress when 'finished' index is changed.
Code
public function __construct() {
$this->interval = variable_get('background_batch_delay', BACKGROUND_BATCH_DELAY) / 1000000;
$args = func_get_args();
return call_user_func_array(array(
'parent',
'__construct',
), $args);
}