123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- # toolbar
- webprofiler.toolbar:
- path: '/profiler/{profile}'
- defaults:
- _controller: '\Drupal\webprofiler\Controller\ToolbarController::toolbarAction'
- options:
- parameters:
- profile:
- type: 'webprofiler:token'
- requirements:
- _permission: 'view webprofiler toolbar'
- # save frontend data
- webprofiler.frontend.save:
- path: '/admin/reports/profiler/frontend/{profile}/save'
- defaults:
- _controller: '\Drupal\webprofiler\Controller\ToolbarController::savePerformanceTimingAction'
- _title: 'Save performance timing data'
- options:
- parameters:
- profile:
- type: 'webprofiler:token'
- methods: [POST]
- requirements:
- _permission: 'view webprofiler toolbar'
- # view profile
- webprofiler.dashboard:
- path: '/admin/reports/profiler/view/{profile}'
- defaults:
- _controller: '\Drupal\webprofiler\Controller\DashboardController::dashboardAction'
- _title: 'Webprofiler'
- options:
- parameters:
- profile:
- type: 'webprofiler:token'
- requirements:
- _permission: 'access webprofiler'
- # list stored profiles
- webprofiler.admin_list:
- path: '/admin/reports/profiler/list'
- defaults:
- _controller: '\Drupal\webprofiler\Controller\DashboardController::listAction'
- _title: 'Webprofiler'
- requirements:
- _permission: 'access webprofiler'
- webprofiler.rest.collector:
- path: '/admin/reports/profiler/view/{profile}/collectors/{collector}'
- defaults:
- _controller: '\Drupal\webprofiler\Controller\DashboardController::restCollectorAction'
- _title: 'Webprofiler'
- options:
- parameters:
- profile:
- type: 'webprofiler:token'
- requirements:
- _permission: 'access webprofiler'
- # get query explain
- webprofiler.database.explain:
- path: '/admin/reports/profiler/database_explain/{profile}/{qid}'
- defaults:
- _controller: '\Drupal\webprofiler\Controller\DatabaseController::explainAction'
- _title: 'Query explain'
- options:
- parameters:
- profile:
- type: 'webprofiler:token'
- requirements:
- _permission: 'access webprofiler'
- # configure webprofiler
- webprofiler.settings:
- path: '/admin/config/development/devel/webprofiler'
- defaults:
- _form: 'Drupal\webprofiler\Form\ConfigForm'
- _title: 'Webprofiler settings'
- requirements:
- _permission: 'access webprofiler'
|