You are here

monitoring.routing.yml in Monitoring 8

File

monitoring.routing.yml
View source
  1. monitoring.settings:
  2. path: '/admin/config/system/monitoring/settings'
  3. defaults:
  4. _form: '\Drupal\monitoring\Form\MonitoringSettingsForm'
  5. _title: 'Monitoring settings'
  6. requirements:
  7. _permission: 'administer monitoring'
  8. monitoring.sensors_overview_settings:
  9. path: '/admin/config/system/monitoring/sensors'
  10. defaults:
  11. _entity_list: 'monitoring_sensor_config'
  12. _title: 'Sensor overview'
  13. requirements:
  14. _permission: 'administer monitoring'
  15. monitoring.rebuild_sensor_list:
  16. path: '/admin/config/system/monitoring/sensors/rebuild'
  17. defaults:
  18. _controller: '\Drupal\monitoring\Controller\RebuildSensorList::rebuild'
  19. _title: 'Rebuild sensor list'
  20. requirements:
  21. _permission: 'administer monitoring'
  22. monitoring.sensor_list:
  23. path: '/admin/reports/monitoring'
  24. defaults:
  25. _controller: '\Drupal\monitoring\Controller\SensorList::content'
  26. _title: Monitoring
  27. requirements:
  28. _permission: 'monitoring reports'
  29. entity.monitoring_sensor_config.details_form:
  30. path: '/admin/reports/monitoring/sensors/{monitoring_sensor_config}'
  31. defaults:
  32. _entity_form: 'monitoring_sensor_config.details'
  33. _title_callback: '\Drupal\monitoring\Form\SensorDetailForm::formTitle'
  34. requirements:
  35. _entity_access: 'monitoring_sensor_config.view'
  36. monitoring.requirements_sensor_ignore_key:
  37. path: '/admin/reports/monitoring/requirements_ignore_key/{monitoring_sensor_config}/{key}'
  38. defaults:
  39. _controller: '\Drupal\monitoring\Controller\RequirementsIgnore::sensorIgnoreKey'
  40. _entity_form: 'monitoring_sensor_config.details'
  41. requirements:
  42. _permission: 'administer monitoring'
  43. _csrf_token: 'TRUE'
  44. monitoring.requirements_sensor_unignore_key:
  45. path: '/admin/reports/monitoring/requirements_unignore_key/{monitoring_sensor_config}/{key}'
  46. defaults:
  47. _controller: '\Drupal\monitoring\Controller\RequirementsIgnore::sensorUnignoreKey'
  48. _entity_form: 'monitoring_sensor_config.details'
  49. requirements:
  50. _permission: 'administer monitoring'
  51. _csrf_token: 'TRUE'
  52. monitoring.force_run_all:
  53. path: 'monitoring/sensors/force'
  54. defaults:
  55. _controller: '\Drupal\monitoring\Controller\ForceRunController::forceRunAll'
  56. requirements:
  57. _permission: 'monitoring force run'
  58. entity.monitoring_sensor_config.force_run_sensor:
  59. path: 'monitoring/sensors/force/{monitoring_sensor_config}'
  60. defaults:
  61. _controller: '\Drupal\monitoring\Controller\ForceRunController::forceRunSensor'
  62. requirements:
  63. _permission: 'monitoring force run'
  64. entity.monitoring_sensor_config.delete_form:
  65. path: '/admin/config/system/monitoring/sensors/{monitoring_sensor_config}/delete'
  66. defaults:
  67. _entity_form: 'monitoring_sensor_config.delete'
  68. _title: 'Delete'
  69. requirements:
  70. _permission: 'administer monitoring'
  71. entity.monitoring_sensor_config.edit_form:
  72. path: '/admin/config/system/monitoring/sensors/{monitoring_sensor_config}'
  73. defaults:
  74. _entity_form: 'monitoring_sensor_config.edit'
  75. _title_callback: '\Drupal\monitoring\Form\SensorForm::formTitle'
  76. requirements:
  77. _permission: 'administer monitoring'
  78. monitoring.sensor_add:
  79. path: '/admin/config/system/monitoring/sensors/add'
  80. defaults:
  81. _entity_form: 'monitoring_sensor_config.add'
  82. _title: 'Add Sensor'
  83. requirements:
  84. _permission: 'administer monitoring'
  85. monitoring.config_autocomplete:
  86. path: '/monitoring-config/autocomplete'
  87. defaults:
  88. _controller: '\Drupal\monitoring\Controller\ConfigAutocompleteController::autocomplete'
  89. requirements:
  90. _permission: 'administer monitoring'
  91. monitoring.category_autocomplete:
  92. path: '/monitoring-category/autocomplete'
  93. defaults:
  94. _controller: '\Drupal\monitoring\Controller\CategoryAutocompleteController::autocomplete'
  95. requirements:
  96. _permission: 'administer monitoring'
  97. monitoring.make_file_permanent:
  98. path: '/admin/reports/monitoring/sensors/{monitoring_sensor_config}/{file}'
  99. defaults:
  100. _controller: '\Drupal\monitoring\Controller\TemporaryFilesController::makePermanent'
  101. _entity_form: 'monitoring_sensor_config.details'
  102. _title: 'Make permanent'
  103. requirements:
  104. _permission: 'administer monitoring'
  105. _csrf_token: 'TRUE'