You are here

function background_process_check_token in Background Process 8

Same name and namespace in other branches
  1. 6 background_process.pages.inc \background_process_check_token()
  2. 7.2 background_process.pages.inc \background_process_check_token()
  3. 7 background_process.pages.inc \background_process_check_token()

Implements to Callback for token validation.

File

./background_process.pages.inc, line 11
Implements Backround Proces Pages.

Code

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