You are here

public function BackgroundProcess::restart in Background Process 7.2

Restart the request

File

./background_process.inc, line 645
External API short overview

Class

BackgroundProcess
@file

Code

public function restart() {
  return $this
    ->setStatus(BACKGROUND_PROCESS_STATUS_LOCKED)
    ->writeData()
    ->dispatch();
}