You are here

devel.routing.yml in Devel 8.2

Same filename and directory in other branches
  1. 8.3 devel.routing.yml
  2. 8 devel.routing.yml
  3. 4.x devel.routing.yml

File

devel.routing.yml
View source
  1. devel.admin_settings:
  2. path: '/admin/config/development/devel'
  3. defaults:
  4. _form: '\Drupal\devel\Form\SettingsForm'
  5. _title: 'Devel settings'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. devel.toolbar.settings_form:
  9. path: '/admin/config/development/devel/toolbar'
  10. defaults:
  11. _form: '\Drupal\devel\Form\ToolbarSettingsForm'
  12. _title: 'Devel Toolbar Settings'
  13. requirements:
  14. _permission: 'administer site configuration'
  15. _module_dependencies: 'toolbar'
  16. devel.reinstall:
  17. path: '/devel/reinstall'
  18. defaults:
  19. _form: '\Drupal\devel\Form\DevelReinstall'
  20. _title: 'Reinstall modules'
  21. options:
  22. _admin_route: TRUE
  23. requirements:
  24. _permission: 'administer site configuration'
  25. devel.menu_rebuild:
  26. path: '/devel/menu/reset'
  27. defaults:
  28. _form: '\Drupal\devel\Form\RouterRebuildConfirmForm'
  29. _title: 'Rebuild router'
  30. options:
  31. _admin_route: TRUE
  32. requirements:
  33. _permission: 'administer site configuration'
  34. devel.configs_list:
  35. path: '/devel/config/{filter}'
  36. options:
  37. _admin_route: TRUE
  38. defaults:
  39. _form: '\Drupal\devel\Form\ConfigsList'
  40. _title: 'Config editor'
  41. filter: ''
  42. requirements:
  43. _permission: 'administer site configuration'
  44. devel.config_edit:
  45. path: '/devel/config/edit/{config_name}'
  46. defaults:
  47. _form: '\Drupal\devel\Form\ConfigEditor'
  48. _title: 'Edit configuration object: @config_name'
  49. options:
  50. _admin_route: TRUE
  51. requirements:
  52. _permission: 'administer site configuration'
  53. devel.state_system_page:
  54. path: '/devel/state'
  55. defaults:
  56. _controller: '\Drupal\devel\Controller\DevelController::stateSystemPage'
  57. _title: 'State editor'
  58. options:
  59. _admin_route: TRUE
  60. requirements:
  61. _permission: 'access devel information'
  62. devel.system_state_edit:
  63. path: '/devel/state/edit/{state_name}'
  64. defaults:
  65. _form: '\Drupal\devel\Form\SystemStateEdit'
  66. _title: 'Edit state variable: @state_name'
  67. options:
  68. _admin_route: TRUE
  69. requirements:
  70. _permission: 'administer site configuration'
  71. devel.theme_registry:
  72. path: '/devel/theme/registry'
  73. defaults:
  74. _controller: '\Drupal\devel\Controller\DevelController::themeRegistry'
  75. _title: 'Theme registry'
  76. options:
  77. _admin_route: TRUE
  78. requirements:
  79. _permission: 'access devel information'
  80. devel.field_info_page:
  81. path: '/devel/field/info'
  82. defaults:
  83. _controller: '\Drupal\devel\Controller\DevelController::fieldInfoPage'
  84. _title: 'Field info'
  85. options:
  86. _admin_route: TRUE
  87. requirements:
  88. _permission: 'access devel information'
  89. devel.session:
  90. path: '/devel/session'
  91. defaults:
  92. _controller: '\Drupal\devel\Controller\DevelController::session'
  93. _title: 'Session viewer'
  94. options:
  95. _admin_route: TRUE
  96. requirements:
  97. _permission: 'access devel information'
  98. devel.switch:
  99. path: '/devel/switch/{name}'
  100. defaults:
  101. _controller: '\Drupal\devel\Controller\SwitchUserController::switchUser'
  102. _title: 'Switch user'
  103. name: ''
  104. options:
  105. _admin_route: TRUE
  106. requirements:
  107. _permission: 'switch users'
  108. _csrf_token: 'TRUE'
  109. devel.cache_clear:
  110. path: '/devel/cache/clear'
  111. defaults:
  112. _controller: '\Drupal\devel\Controller\DevelController::cacheClear'
  113. _title: 'Clear cache'
  114. options:
  115. _admin_route: TRUE
  116. requirements:
  117. _permission: 'access devel information'
  118. _csrf_token: 'TRUE'
  119. devel.run_cron:
  120. path: '/devel/run-cron'
  121. defaults:
  122. _controller: '\Drupal\system\CronController::runManually'
  123. _title: 'Run cron'
  124. options:
  125. _admin_route: TRUE
  126. requirements:
  127. _permission: 'administer site configuration'
  128. _csrf_token: 'TRUE'
  129. # Container info
  130. devel.container_info.service:
  131. path: '/devel/container/service'
  132. defaults:
  133. _controller: '\Drupal\devel\Controller\ContainerInfoController::serviceList'
  134. _title: 'Container services'
  135. options:
  136. _admin_route: TRUE
  137. requirements:
  138. _permission: 'access devel information'
  139. devel.container_info.service.detail:
  140. path: '/devel/container/service/{service_id}'
  141. defaults:
  142. _controller: '\Drupal\devel\Controller\ContainerInfoController::serviceDetail'
  143. _title: 'Service @service_id detail'
  144. options:
  145. _admin_route: TRUE
  146. requirements:
  147. _permission: 'access devel information'
  148. devel.container_info.parameter:
  149. path: '/devel/container/parameter'
  150. defaults:
  151. _controller: '\Drupal\devel\Controller\ContainerInfoController::parameterList'
  152. _title: 'Container parameters'
  153. options:
  154. _admin_route: TRUE
  155. requirements:
  156. _permission: 'access devel information'
  157. devel.container_info.parameter.detail:
  158. path: '/devel/container/parameter/{parameter_name}'
  159. defaults:
  160. _controller: '\Drupal\devel\Controller\ContainerInfoController::parameterDetail'
  161. _title: 'Parameter @parameter_name value'
  162. options:
  163. _admin_route: TRUE
  164. requirements:
  165. _permission: 'access devel information'
  166. # Route info
  167. devel.route_info:
  168. path: '/devel/routes'
  169. defaults:
  170. _controller: '\Drupal\devel\Controller\RouteInfoController::routeList'
  171. _title: 'Routes'
  172. options:
  173. _admin_route: TRUE
  174. requirements:
  175. _permission: 'access devel information'
  176. devel.route_info.item:
  177. path: '/devel/routes/item'
  178. defaults:
  179. _controller: '\Drupal\devel\Controller\RouteInfoController::routeDetail'
  180. _title: 'Route detail'
  181. options:
  182. _admin_route: TRUE
  183. requirements:
  184. _permission: 'access devel information'
  185. # Event info
  186. devel.event_info:
  187. path: '/devel/events'
  188. defaults:
  189. _controller: '\Drupal\devel\Controller\EventInfoController::eventList'
  190. _title: 'Events'
  191. options:
  192. _admin_route: TRUE
  193. requirements:
  194. _permission: 'access devel information'
  195. # Layouts info
  196. devel.layout_info:
  197. path: '/devel/layouts'
  198. defaults:
  199. _controller: '\Drupal\devel\Controller\LayoutInfoController::layoutInfoPage'
  200. _title: 'Layouts'
  201. options:
  202. _admin_route: TRUE
  203. requirements:
  204. _permission: 'access devel information'
  205. _module_dependencies: 'layout_discovery'
  206. # Element info
  207. devel.elements_page:
  208. path: '/devel/elements'
  209. defaults:
  210. _controller: '\Drupal\devel\Controller\ElementInfoController::elementList'
  211. _title: 'Element Info'
  212. options:
  213. _admin_route: TRUE
  214. requirements:
  215. _permission: 'access devel information'
  216. devel.elements_page.detail:
  217. path: '/devel/elements/{element_name}'
  218. defaults:
  219. _controller: '\Drupal\devel\Controller\ElementInfoController::elementDetail'
  220. _title: 'Element @element_name'
  221. options:
  222. _admin_route: TRUE
  223. requirements:
  224. _permission: 'access devel information'
  225. # Entity type info
  226. devel.entity_info_page:
  227. path: '/devel/entity/info'
  228. defaults:
  229. _controller: '\Drupal\devel\Controller\EntityTypeInfoController::entityTypeList'
  230. _title: 'Entity info'
  231. options:
  232. _admin_route: TRUE
  233. requirements:
  234. _permission: 'access devel information'
  235. devel.entity_info_page.detail:
  236. path: '/devel/entity/info/{entity_type_id}'
  237. defaults:
  238. _controller: '\Drupal\devel\Controller\EntityTypeInfoController::entityTypeDetail'
  239. _title: 'Entity type @entity_type_id'
  240. options:
  241. _admin_route: TRUE
  242. requirements:
  243. _permission: 'access devel information'