webprofiler.routing.yml in Devel 8.2
Same filename and directory in other branches
webprofiler/webprofiler.routing.yml
4 string references to YAML keys in webprofiler.routing.yml
- DashboardController::listAction in webprofiler/
src/ Controller/ DashboardController.php - Generates the list page.
- ProfilesFilterForm::submitForm in webprofiler/
src/ Form/ ProfilesFilterForm.php - Form submission handler.
- WebprofilerEventSubscriber::injectToolbar in webprofiler/
src/ EventSubscriber/ WebprofilerEventSubscriber.php - WebprofilerEventSubscriber::onKernelResponse in webprofiler/
src/ EventSubscriber/ WebprofilerEventSubscriber.php
File
webprofiler/webprofiler.routing.ymlView source
- # 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'