You are here

prod_check.routing.yml in Production check & Production monitor 8

File

prod_check.routing.yml
View source
  1. prod_check.report:
  2. path: '/admin/reports/prod-check'
  3. defaults:
  4. _controller: '\Drupal\prod_check\Controller\StatusReportController::build'
  5. _title: 'Production check'
  6. requirements:
  7. _permission: 'access production check'
  8. prod_check.admin_settings:
  9. path: 'admin/config/system/prod-check'
  10. defaults:
  11. _form: '\Drupal\prod_check\Form\SettingsForm'
  12. _title: 'Production check settings'
  13. requirements:
  14. _permission: 'administer production check'
  15. entity.prod_check_processor.collection:
  16. path: '/admin/config/system/prod-check/processors'
  17. defaults:
  18. _title: 'Production check processors'
  19. _entity_list: 'prod_check_processor'
  20. requirements:
  21. _permission: 'administer production check'
  22. entity.prod_check_processor.edit_form:
  23. path: '/admin/config/system/prod-check/processors/configure/{prod_check_processor}'
  24. defaults:
  25. _entity_form: 'prod_check_processor.edit'
  26. _title: 'Configure'
  27. requirements:
  28. _permission: 'administer production check'
  29. entity.prod_check.collection:
  30. path: '/admin/config/system/prod-check/checks'
  31. defaults:
  32. _title: 'Production checks'
  33. _entity_list: 'prod_check'
  34. requirements:
  35. _permission: 'administer production check'
  36. entity.prod_check.edit_form:
  37. path: '/admin/config/system/prod-check/checks/configure/{prod_check}'
  38. defaults:
  39. _entity_form: 'prod_check.edit'
  40. _title: 'Configure'
  41. requirements:
  42. _permission: 'administer production check'
  43. entity.prod_check.disable:
  44. path: '/admin/config/system/prod-check/checks/configure/{prod_check}/disable'
  45. defaults:
  46. _entity_form: 'prod_check.disable'
  47. _title: 'Disable production check'
  48. requirements:
  49. _entity_access: 'prod_check.disable'
  50. entity.prod_check.enable:
  51. path: '/admin/config/system/prod-check/checks/configure/{prod_check}/enable'
  52. defaults:
  53. _entity_form: 'prod_check.enable'
  54. _title: 'Enable production check'
  55. requirements:
  56. _entity_access: 'prod_check.enable'