You are here

background_process.routing.yml in Background Process 8

File

background_process.routing.yml
View source
  1. background_process.service_start:
  2. path: '/bgp-start/{handle}/{token}'
  3. defaults:
  4. _title: 'Run background process'
  5. _controller: '\Drupal\background_process\Controller\DefaultController::backgroundProcessServiceStart'
  6. requirements:
  7. _custom_access: '\Drupal\background_process\Controller\DefaultController::backgroundProcessServiceAccess'
  8. background_process.service_unlock:
  9. path: '/background-process/unlock/{handle}'
  10. defaults:
  11. _title: 'Unlock background process'
  12. _controller: '\Drupal\background_process\Controller\DefaultController::backgroundProcessServiceUnlock'
  13. requirements:
  14. _permission: 'administer background process'
  15. background_process.check_token:
  16. path: /background-process/check-token
  17. defaults:
  18. _title: 'Check background process token'
  19. _controller: '\Drupal\background_process\Controller\DefaultController::backgroundProcessCheckToken'
  20. requirements:
  21. _access: 'true'
  22. background_process.settings_form:
  23. path: /admin/config/system/background-process
  24. defaults:
  25. _title: 'Background process'
  26. _form: \Drupal\background_process\Form\BackgroundProcessSettingsForm
  27. requirements:
  28. _permission: 'administer background process'
  29. background_process.overview_page:
  30. path: /admin/config/system/background-process/overview
  31. defaults:
  32. _title: Overview
  33. _controller: '\Drupal\background_process\Controller\DefaultController::backgroundProcessOverviewPage'
  34. requirements:
  35. _permission: 'administer background process'