devel.routing.yml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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.execute_php:
  90. path: '/devel/php'
  91. defaults:
  92. _form: '\Drupal\devel\Form\ExecutePHP'
  93. _title: 'Execute PHP code'
  94. options:
  95. _admin_route: TRUE
  96. requirements:
  97. _permission: 'execute php code'
  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'