public function BackgroundProcess::__construct in Background Process 8
Same name and namespace in other branches
- 6 BackgroundProcess.class.php \BackgroundProcess::__construct()
- 7.2 background_process.inc \BackgroundProcess::__construct()
- 7 BackgroundProcess.class.php \BackgroundProcess::__construct()
Implements Constructor.
File
- ./
background_process.class.php, line 34
Class
- BackgroundProcess
- BackgroundProcess class.
Code
public function __construct($handle = NULL) {
$this->handle = $handle ? $handle : background_process_generate_handle('auto');
$this->token = background_process_generate_handle('token');
$this->serviceGroup = \Drupal::config('background_process.settings')
->get('background_process_default_service_group');
}