xhprof.routing.yml in XHProf 8
File
xhprof.routing.yml
View source
- # configure xhprof
- xhprof.admin_configure:
- path: '/admin/config/development/xhprof'
- defaults:
- _form: 'Drupal\xhprof\Form\ConfigForm'
- _title: 'Configure XHProf'
- requirements:
- _permission: 'administer xhprof'
-
- xhprof.runs:
- path: '/admin/reports/xhprof'
- defaults:
- _controller: 'Drupal\xhprof\Controller\XHProfController::runsAction'
- _title: 'XHProf runs'
- requirements:
- _permission: 'access xhprof data+administer xhprof'
-
- xhprof.run:
- path: '/admin/reports/xhprof/{run}'
- defaults:
- _controller: 'Drupal\xhprof\Controller\XHProfController::runAction'
- _title: 'XHProf view'
- options:
- parameters:
- run:
- type: 'xhprof:run_id'
- requirements:
- _permission: 'access xhprof data+administer xhprof'
-
- xhprof.symbol:
- path: '/admin/reports/xhprof/{run}/symbol/{symbol}'
- defaults:
- _controller: 'Drupal\xhprof\Controller\XHProfController::symbolAction'
- _title: 'XHProf view'
- options:
- parameters:
- run:
- type: 'xhprof:run_id'
- requirements:
- symbol: .+
- _permission: 'access xhprof data+administer xhprof'
-
- xhprof.diff:
- path: '/admin/reports/xhprof/diff/{run1}/{run2}'
- defaults:
- _controller: 'Drupal\xhprof\Controller\XHProfController::diffAction'
- _title: 'XHProf view'
- options:
- parameters:
- run1:
- type: 'xhprof:run_id'
- run2:
- type: 'xhprof:run_id'
- requirements:
- _permission: 'access xhprof data+administer xhprof'