You are here

upgrade_status.routing.yml in Upgrade Status 8.2

Same filename and directory in other branches
  1. 8.3 upgrade_status.routing.yml
  2. 8 upgrade_status.routing.yml

File

upgrade_status.routing.yml
View source
  1. upgrade_status.report:
  2. path: '/admin/reports/upgrade-status'
  3. defaults:
  4. _form: '\Drupal\upgrade_status\Form\UpgradeStatusForm'
  5. _title: 'Upgrade status'
  6. requirements:
  7. _permission: 'administer software updates'
  8. upgrade_status.project:
  9. path: '/admin/reports/upgrade-status/project/{type}/{project_machine_name}'
  10. defaults:
  11. _controller: '\Drupal\upgrade_status\Controller\ScanResultController::resultPage'
  12. _title: 'Upgrade status'
  13. requirements:
  14. _permission: 'administer software updates'
  15. upgrade_status.export:
  16. path: '/admin/reports/upgrade-status/export/{type}/{project_machine_name}/{format}'
  17. defaults:
  18. _controller: '\Drupal\upgrade_status\Controller\ScanResultController::resultExport'
  19. _title: 'Upgrade status'
  20. requirements:
  21. _permission: 'administer software updates'
  22. upgrade_status.analyze:
  23. path: '/admin/reports/upgrade-status/analyze/{type}/{project_machine_name}'
  24. defaults:
  25. _controller: '\Drupal\upgrade_status\Controller\ScanResultController::analyze'
  26. requirements:
  27. _permission: 'administer software updates'
  28. # Support only POST so nothing accidental happens on GET.
  29. methods:
  30. - POST