public function BackgroundBatchContext::setInterval in Background Process 6
Same name and namespace in other branches
- 7 background_batch/background_batch.module \BackgroundBatchContext::setInterval()
Set progress update interval in seconds (float).
File
- background_batch/
background_batch.module, line 278 - 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 setInterval($interval) {
$this->interval = $interval;
}