You are here

devel.routing.yml in Devel 8.3

Same filename and directory in other branches
  1. 8 devel.routing.yml
  2. 8.2 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.config_delete:
  54. path: '/devel/config/delete/{config_name}'
  55. defaults:
  56. _form: '\Drupal\devel\Form\ConfigDeleteForm'
  57. _title: 'Delete configuration object: @config_name'
  58. options:
  59. _admin_route: TRUE
  60. requirements:
  61. _permission: 'administer site configuration'
  62. devel.state_system_page:
  63. path: '/devel/state'
  64. defaults:
  65. _controller: '\Drupal\devel\Controller\DevelController::stateSystemPage'
  66. _title: 'State editor'
  67. options:
  68. _admin_route: TRUE
  69. requirements:
  70. _permission: 'access devel information'
  71. devel.system_state_edit:
  72. path: '/devel/state/edit/{state_name}'
  73. defaults:
  74. _form: '\Drupal\devel\Form\SystemStateEdit'
  75. _title: 'Edit state variable: @state_name'
  76. options:
  77. _admin_route: TRUE
  78. requirements:
  79. _permission: 'administer site configuration'
  80. devel.theme_registry:
  81. path: '/devel/theme/registry'
  82. defaults:
  83. _controller: '\Drupal\devel\Controller\DevelController::themeRegistry'
  84. _title: 'Theme registry'
  85. options:
  86. _admin_route: TRUE
  87. requirements:
  88. _permission: 'access devel information'
  89. devel.field_info_page:
  90. path: '/devel/field/info'
  91. defaults:
  92. _controller: '\Drupal\devel\Controller\DevelController::fieldInfoPage'
  93. _title: 'Field info'
  94. options:
  95. _admin_route: TRUE
  96. requirements:
  97. _permission: 'access devel information'
  98. devel.session:
  99. path: '/devel/session'
  100. defaults:
  101. _controller: '\Drupal\devel\Controller\DevelController::session'
  102. _title: 'Session viewer'
  103. options:
  104. _admin_route: TRUE
  105. requirements:
  106. _permission: 'access devel information'
  107. devel.switch:
  108. path: '/devel/switch/{name}'
  109. defaults:
  110. _controller: '\Drupal\devel\Controller\SwitchUserController::switchUser'
  111. _title: 'Switch user'
  112. name: ''
  113. options:
  114. _admin_route: TRUE
  115. requirements:
  116. _permission: 'switch users'
  117. _csrf_token: 'TRUE'
  118. devel.cache_clear:
  119. path: '/devel/cache/clear'
  120. defaults:
  121. _controller: '\Drupal\devel\Controller\DevelController::cacheClear'
  122. _title: 'Clear cache'
  123. options:
  124. _admin_route: TRUE
  125. requirements:
  126. _permission: 'access devel information'
  127. _csrf_token: 'TRUE'
  128. devel.run_cron:
  129. path: '/devel/run-cron'
  130. defaults:
  131. _controller: '\Drupal\system\CronController::runManually'
  132. _title: 'Run cron'
  133. options:
  134. _admin_route: TRUE
  135. requirements:
  136. _permission: 'administer site configuration'
  137. _csrf_token: 'TRUE'
  138. # Container info
  139. devel.container_info.service:
  140. path: '/devel/container/service'
  141. defaults:
  142. _controller: '\Drupal\devel\Controller\ContainerInfoController::serviceList'
  143. _title: 'Container services'
  144. options:
  145. _admin_route: TRUE
  146. requirements:
  147. _permission: 'access devel information'
  148. devel.container_info.service.detail:
  149. path: '/devel/container/service/{service_id}'
  150. defaults:
  151. _controller: '\Drupal\devel\Controller\ContainerInfoController::serviceDetail'
  152. _title: 'Service @service_id detail'
  153. options:
  154. _admin_route: TRUE
  155. requirements:
  156. _permission: 'access devel information'
  157. devel.container_info.parameter:
  158. path: '/devel/container/parameter'
  159. defaults:
  160. _controller: '\Drupal\devel\Controller\ContainerInfoController::parameterList'
  161. _title: 'Container parameters'
  162. options:
  163. _admin_route: TRUE
  164. requirements:
  165. _permission: 'access devel information'
  166. devel.container_info.parameter.detail:
  167. path: '/devel/container/parameter/{parameter_name}'
  168. defaults:
  169. _controller: '\Drupal\devel\Controller\ContainerInfoController::parameterDetail'
  170. _title: 'Parameter @parameter_name value'
  171. options:
  172. _admin_route: TRUE
  173. requirements:
  174. _permission: 'access devel information'
  175. # Route info
  176. devel.route_info:
  177. path: '/devel/routes'
  178. defaults:
  179. _controller: '\Drupal\devel\Controller\RouteInfoController::routeList'
  180. _title: 'Routes'
  181. options:
  182. _admin_route: TRUE
  183. requirements:
  184. _permission: 'access devel information'
  185. devel.route_info.item:
  186. path: '/devel/routes/item'
  187. defaults:
  188. _controller: '\Drupal\devel\Controller\RouteInfoController::routeDetail'
  189. _title: 'Route detail'
  190. options:
  191. _admin_route: TRUE
  192. requirements:
  193. _permission: 'access devel information'
  194. # Event info
  195. devel.event_info:
  196. path: '/devel/events'
  197. defaults:
  198. _controller: '\Drupal\devel\Controller\EventInfoController::eventList'
  199. _title: 'Events'
  200. options:
  201. _admin_route: TRUE
  202. requirements:
  203. _permission: 'access devel information'
  204. # Layouts info
  205. devel.layout_info:
  206. path: '/devel/layouts'
  207. defaults:
  208. _controller: '\Drupal\devel\Controller\LayoutInfoController::layoutInfoPage'
  209. _title: 'Layouts'
  210. options:
  211. _admin_route: TRUE
  212. requirements:
  213. _permission: 'access devel information'
  214. _module_dependencies: 'layout_discovery'
  215. # Element info
  216. devel.elements_page:
  217. path: '/devel/elements'
  218. defaults:
  219. _controller: '\Drupal\devel\Controller\ElementInfoController::elementList'
  220. _title: 'Element Info'
  221. options:
  222. _admin_route: TRUE
  223. requirements:
  224. _permission: 'access devel information'
  225. devel.elements_page.detail:
  226. path: '/devel/elements/{element_name}'
  227. defaults:
  228. _controller: '\Drupal\devel\Controller\ElementInfoController::elementDetail'
  229. _title: 'Element @element_name'
  230. options:
  231. _admin_route: TRUE
  232. requirements:
  233. _permission: 'access devel information'
  234. # Entity type info
  235. devel.entity_info_page:
  236. path: '/devel/entity/info'
  237. defaults:
  238. _controller: '\Drupal\devel\Controller\EntityTypeInfoController::entityTypeList'
  239. _title: 'Entity info'
  240. options:
  241. _admin_route: TRUE
  242. requirements:
  243. _permission: 'access devel information'
  244. devel.entity_info_page.detail:
  245. path: '/devel/entity/info/{entity_type_id}'
  246. defaults:
  247. _controller: '\Drupal\devel\Controller\EntityTypeInfoController::entityTypeDetail'
  248. _title: 'Entity type @entity_type_id'
  249. options:
  250. _admin_route: TRUE
  251. requirements:
  252. _permission: 'access devel information'
  253. devel.entity_info_page.fields:
  254. path: '/devel/entity/fields/{entity_type_id}'
  255. defaults:
  256. _controller: '\Drupal\devel\Controller\EntityTypeInfoController::entityTypeFields'
  257. _title: 'Entity fields @entity_type_id'
  258. options:
  259. _admin_route: TRUE
  260. requirements:
  261. _permission: 'access devel information'