devel.routing.yml

Same filename in other branches
  1. 4.x devel.routing.yml
devel.routing.yml
24 string references to YAML keys in devel.routing.yml
ConfigDeleteForm::getCancelUrl in src/Form/ConfigDeleteForm.php
Returns the route to go to if the user cancels the action.
ConfigEditor::buildCancelLinkUrl in src/Form/ConfigEditor.php
Builds the cancel link url for the form.
ConfigEditor::buildForm in src/Form/ConfigEditor.php
Form constructor.
ConfigEditor::submitForm in src/Form/ConfigEditor.php
Form submission handler.
ConfigsList::buildForm in src/Form/ConfigsList.php
Form constructor.

... See full list

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.switch_user:
  119. path: '/devel/switch-user'
  120. defaults:
  121. _form: '\Drupal\devel\Form\SwitchUserPageForm'
  122. _title: 'Switch user'
  123. options:
  124. _admin_route: TRUE
  125. requirements:
  126. _permission: 'switch users'
  127. devel.cache_clear:
  128. path: '/devel/cache/clear'
  129. defaults:
  130. _controller: '\Drupal\devel\Controller\DevelController::cacheClear'
  131. _title: 'Clear cache'
  132. options:
  133. _admin_route: TRUE
  134. requirements:
  135. _permission: 'access devel information'
  136. _csrf_token: 'TRUE'
  137. devel.run_cron:
  138. path: '/devel/run-cron'
  139. defaults:
  140. _controller: '\Drupal\system\CronController::runManually'
  141. _title: 'Run cron'
  142. options:
  143. _admin_route: TRUE
  144. requirements:
  145. _permission: 'administer site configuration'
  146. _csrf_token: 'TRUE'
  147. # Container info
  148. devel.container_info.service:
  149. path: '/devel/container/service'
  150. defaults:
  151. _controller: '\Drupal\devel\Controller\ContainerInfoController::serviceList'
  152. _title: 'Container services'
  153. options:
  154. _admin_route: TRUE
  155. requirements:
  156. _permission: 'access devel information'
  157. devel.container_info.service.detail:
  158. path: '/devel/container/service/{service_id}'
  159. defaults:
  160. _controller: '\Drupal\devel\Controller\ContainerInfoController::serviceDetail'
  161. _title: 'Service @service_id detail'
  162. options:
  163. _admin_route: TRUE
  164. requirements:
  165. _permission: 'access devel information'
  166. devel.container_info.parameter:
  167. path: '/devel/container/parameter'
  168. defaults:
  169. _controller: '\Drupal\devel\Controller\ContainerInfoController::parameterList'
  170. _title: 'Container parameters'
  171. options:
  172. _admin_route: TRUE
  173. requirements:
  174. _permission: 'access devel information'
  175. devel.container_info.parameter.detail:
  176. path: '/devel/container/parameter/{parameter_name}'
  177. defaults:
  178. _controller: '\Drupal\devel\Controller\ContainerInfoController::parameterDetail'
  179. _title: 'Parameter @parameter_name value'
  180. options:
  181. _admin_route: TRUE
  182. requirements:
  183. _permission: 'access devel information'
  184. # Route info
  185. devel.route_info:
  186. path: '/devel/routes'
  187. defaults:
  188. _controller: '\Drupal\devel\Controller\RouteInfoController::routeList'
  189. _title: 'Routes'
  190. options:
  191. _admin_route: TRUE
  192. requirements:
  193. _permission: 'access devel information'
  194. devel.route_info.item:
  195. path: '/devel/routes/item'
  196. defaults:
  197. _controller: '\Drupal\devel\Controller\RouteInfoController::routeDetail'
  198. _title: 'Route detail'
  199. options:
  200. _admin_route: TRUE
  201. requirements:
  202. _permission: 'access devel information'
  203. # Event info
  204. devel.event_info:
  205. path: '/devel/events'
  206. defaults:
  207. _controller: '\Drupal\devel\Controller\EventInfoController::eventList'
  208. _title: 'Events'
  209. options:
  210. _admin_route: TRUE
  211. requirements:
  212. _permission: 'access devel information'
  213. # Layouts info
  214. devel.layout_info:
  215. path: '/devel/layouts'
  216. defaults:
  217. _controller: '\Drupal\devel\Controller\LayoutInfoController::layoutInfoPage'
  218. _title: 'Layouts'
  219. options:
  220. _admin_route: TRUE
  221. requirements:
  222. _permission: 'access devel information'
  223. _module_dependencies: 'layout_discovery'
  224. # Element info
  225. devel.elements_page:
  226. path: '/devel/elements'
  227. defaults:
  228. _controller: '\Drupal\devel\Controller\ElementInfoController::elementList'
  229. _title: 'Element Info'
  230. options:
  231. _admin_route: TRUE
  232. requirements:
  233. _permission: 'access devel information'
  234. devel.elements_page.detail:
  235. path: '/devel/elements/{element_name}'
  236. defaults:
  237. _controller: '\Drupal\devel\Controller\ElementInfoController::elementDetail'
  238. _title: 'Element @element_name'
  239. options:
  240. _admin_route: TRUE
  241. requirements:
  242. _permission: 'access devel information'
  243. # Entity type info
  244. devel.entity_info_page:
  245. path: '/devel/entity/info'
  246. defaults:
  247. _controller: '\Drupal\devel\Controller\EntityTypeInfoController::entityTypeList'
  248. _title: 'Entity info'
  249. options:
  250. _admin_route: TRUE
  251. requirements:
  252. _permission: 'access devel information'
  253. devel.entity_info_page.detail:
  254. path: '/devel/entity/info/{entity_type_id}'
  255. defaults:
  256. _controller: '\Drupal\devel\Controller\EntityTypeInfoController::entityTypeDetail'
  257. _title: 'Entity type @entity_type_id'
  258. options:
  259. _admin_route: TRUE
  260. requirements:
  261. _permission: 'access devel information'
  262. devel.entity_info_page.fields:
  263. path: '/devel/entity/fields/{entity_type_id}'
  264. defaults:
  265. _controller: '\Drupal\devel\Controller\EntityTypeInfoController::entityTypeFields'
  266. _title: 'Entity fields @entity_type_id'
  267. options:
  268. _admin_route: TRUE
  269. requirements:
  270. _permission: 'access devel information'