You are here

xhprof.routing.yml in XHProf 8

File

xhprof.routing.yml
View source
  1. # configure xhprof
  2. xhprof.admin_configure:
  3. path: '/admin/config/development/xhprof'
  4. defaults:
  5. _form: 'Drupal\xhprof\Form\ConfigForm'
  6. _title: 'Configure XHProf'
  7. requirements:
  8. _permission: 'administer xhprof'
  9. xhprof.runs:
  10. path: '/admin/reports/xhprof'
  11. defaults:
  12. _controller: 'Drupal\xhprof\Controller\XHProfController::runsAction'
  13. _title: 'XHProf runs'
  14. requirements:
  15. _permission: 'access xhprof data+administer xhprof'
  16. xhprof.run:
  17. path: '/admin/reports/xhprof/{run}'
  18. defaults:
  19. _controller: 'Drupal\xhprof\Controller\XHProfController::runAction'
  20. _title: 'XHProf view'
  21. options:
  22. parameters:
  23. run:
  24. type: 'xhprof:run_id'
  25. requirements:
  26. _permission: 'access xhprof data+administer xhprof'
  27. xhprof.symbol:
  28. path: '/admin/reports/xhprof/{run}/symbol/{symbol}'
  29. defaults:
  30. _controller: 'Drupal\xhprof\Controller\XHProfController::symbolAction'
  31. _title: 'XHProf view'
  32. options:
  33. parameters:
  34. run:
  35. type: 'xhprof:run_id'
  36. requirements:
  37. symbol: .+
  38. _permission: 'access xhprof data+administer xhprof'
  39. xhprof.diff:
  40. path: '/admin/reports/xhprof/diff/{run1}/{run2}'
  41. defaults:
  42. _controller: 'Drupal\xhprof\Controller\XHProfController::diffAction'
  43. _title: 'XHProf view'
  44. options:
  45. parameters:
  46. run1:
  47. type: 'xhprof:run_id'
  48. run2:
  49. type: 'xhprof:run_id'
  50. requirements:
  51. _permission: 'access xhprof data+administer xhprof'