You are here

public function BackgroundBatchContext::__construct in Background Process 8

Implements @Constuctor.

File

background_batch/src/BackgroundBatchContext.php, line 16

Class

BackgroundBatchContext
Class batch context.Automatically updates.

Namespace

Drupal\background_batch

Code

public function __construct() {
  $this->interval = \Drupal::config('background_batch.settings')
    ->get('background_batch_delay') / 1000000;
  $args = func_get_args();
  return call_user_func_array([
    'parent',
    '__construct',
  ], $args);
}