public function BackgroundBatchContext::setInterval in Background Process 8
Implements to Set progress update interval in seconds.
File
- background_batch/
src/ BackgroundBatchContext.php, line 28
Class
- BackgroundBatchContext
- Class batch context.Automatically updates.
Namespace
Drupal\background_batchCode
public function setInterval($interval) {
$this->interval = $interval;
}