You are here

public function DefaultController::backgroundProcessCheckToken in Background Process 8

Implements to Check Token.

1 string reference to 'DefaultController::backgroundProcessCheckToken'
background_process.routing.yml in ./background_process.routing.yml
background_process.routing.yml

File

src/Controller/DefaultController.php, line 105

Class

DefaultController
Implements Default controller for the background_process module.

Namespace

Drupal\background_process\Controller

Code

public function backgroundProcessCheckToken() {
  header("Content-Type: text/plain");
  print \Drupal::config('background_process.settings')
    ->get('background_process_token');
  exit;
}