system.routing.yml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
  1. system.401:
  2. path: '/system/401'
  3. defaults:
  4. _controller: '\Drupal\system\Controller\Http4xxController:on401'
  5. _title: 'Unauthorized'
  6. requirements:
  7. _access: 'TRUE'
  8. system.403:
  9. path: '/system/403'
  10. defaults:
  11. _controller: '\Drupal\system\Controller\Http4xxController:on403'
  12. _title: 'Access denied'
  13. requirements:
  14. _access: 'TRUE'
  15. system.404:
  16. path: '/system/404'
  17. defaults:
  18. _controller: '\Drupal\system\Controller\Http4xxController:on404'
  19. _title: 'Page not found'
  20. requirements:
  21. _access: 'TRUE'
  22. system.4xx:
  23. path: '/system/4xx'
  24. defaults:
  25. _controller: '\Drupal\system\Controller\Http4xxController:on4xx'
  26. _title: 'Client error'
  27. requirements:
  28. _access: 'TRUE'
  29. system.admin:
  30. path: '/admin'
  31. defaults:
  32. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  33. _title: 'Administration'
  34. requirements:
  35. _permission: 'access administration pages'
  36. system.admin_structure:
  37. path: '/admin/structure'
  38. defaults:
  39. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  40. _title: 'Structure'
  41. requirements:
  42. _permission: 'access administration pages'
  43. system.admin_reports:
  44. path: '/admin/reports'
  45. defaults:
  46. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  47. _title: 'Reports'
  48. requirements:
  49. _permission: 'access site reports'
  50. system.admin_config_media:
  51. path: '/admin/config/media'
  52. defaults:
  53. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  54. _title: 'Media'
  55. requirements:
  56. _permission: 'access administration pages'
  57. system.admin_config_services:
  58. path: '/admin/config/services'
  59. defaults:
  60. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  61. _title: 'Web services'
  62. requirements:
  63. _permission: 'access administration pages'
  64. system.admin_config_development:
  65. path: '/admin/config/development'
  66. defaults:
  67. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  68. _title: 'Development'
  69. requirements:
  70. _permission: 'access administration pages'
  71. system.admin_config_regional:
  72. path: '/admin/config/regional'
  73. defaults:
  74. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  75. _title: 'Regional and language'
  76. requirements:
  77. _permission: 'access administration pages'
  78. system.admin_config_search:
  79. path: '/admin/config/search'
  80. defaults:
  81. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  82. _title: 'Search and metadata'
  83. requirements:
  84. _permission: 'access administration pages'
  85. system.admin_config_system:
  86. path: '/admin/config/system'
  87. defaults:
  88. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  89. _title: 'System'
  90. requirements:
  91. _permission: 'access administration pages'
  92. system.admin_config_ui:
  93. path: '/admin/config/user-interface'
  94. defaults:
  95. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  96. _title: 'User interface'
  97. requirements:
  98. _permission: 'access administration pages'
  99. system.admin_config_workflow:
  100. path: '/admin/config/workflow'
  101. defaults:
  102. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  103. _title: 'Workflow'
  104. requirements:
  105. _permission: 'access administration pages'
  106. system.admin_config_content:
  107. path: '/admin/config/content'
  108. defaults:
  109. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  110. _title: 'Content authoring'
  111. requirements:
  112. _permission: 'access administration pages'
  113. system.cron:
  114. path: '/cron/{key}'
  115. defaults:
  116. _controller: '\Drupal\system\CronController::run'
  117. options:
  118. no_cache: TRUE
  119. requirements:
  120. _access_system_cron: 'TRUE'
  121. system.admin_compact_page:
  122. path: '/admin/compact/{mode}'
  123. defaults:
  124. _controller: 'Drupal\system\Controller\SystemController::compactPage'
  125. mode: 'off'
  126. requirements:
  127. _permission: 'access administration pages'
  128. system.machine_name_transliterate:
  129. path: '/machine_name/transliterate'
  130. defaults:
  131. _controller: '\Drupal\system\MachineNameController::transliterate'
  132. requirements:
  133. _permission: 'access content'
  134. system.site_information_settings:
  135. path: '/admin/config/system/site-information'
  136. defaults:
  137. _form: 'Drupal\system\Form\SiteInformationForm'
  138. _title: 'Basic site settings'
  139. requirements:
  140. _permission: 'administer site configuration'
  141. system.cron_settings:
  142. path: '/admin/config/system/cron'
  143. defaults:
  144. _form: 'Drupal\system\Form\CronForm'
  145. _title: 'Cron'
  146. requirements:
  147. _permission: 'administer site configuration'
  148. system.logging_settings:
  149. path: '/admin/config/development/logging'
  150. defaults:
  151. _form: 'Drupal\system\Form\LoggingForm'
  152. _title: 'Logging and errors'
  153. requirements:
  154. _permission: 'administer site configuration'
  155. system.performance_settings:
  156. path: '/admin/config/development/performance'
  157. defaults:
  158. _form: 'Drupal\system\Form\PerformanceForm'
  159. _title: 'Performance'
  160. requirements:
  161. _permission: 'administer site configuration'
  162. system.file_system_settings:
  163. path: '/admin/config/media/file-system'
  164. defaults:
  165. _form: 'Drupal\system\Form\FileSystemForm'
  166. _title: 'File system'
  167. requirements:
  168. _permission: 'administer site configuration'
  169. system.rss_feeds_settings:
  170. path: '/admin/config/services/rss-publishing'
  171. defaults:
  172. _form: 'Drupal\system\Form\RssFeedsForm'
  173. _title: 'RSS publishing'
  174. requirements:
  175. _permission: 'administer site configuration'
  176. system.regional_settings:
  177. path: '/admin/config/regional/settings'
  178. defaults:
  179. _form: 'Drupal\system\Form\RegionalForm'
  180. _title: 'Regional settings'
  181. requirements:
  182. _permission: 'administer site configuration'
  183. system.image_toolkit_settings:
  184. path: '/admin/config/media/image-toolkit'
  185. defaults:
  186. _form: 'Drupal\system\Form\ImageToolkitForm'
  187. _title: 'Image toolkit'
  188. requirements:
  189. _permission: 'administer site configuration'
  190. system.site_maintenance_mode:
  191. path: '/admin/config/development/maintenance'
  192. defaults:
  193. _form: 'Drupal\system\Form\SiteMaintenanceModeForm'
  194. _title: 'Maintenance mode'
  195. requirements:
  196. _permission: 'administer site configuration'
  197. system.run_cron:
  198. path: '/admin/reports/status/run-cron'
  199. defaults:
  200. _controller: '\Drupal\system\CronController::runManually'
  201. options:
  202. no_cache: TRUE
  203. requirements:
  204. _permission: 'administer site configuration'
  205. _csrf_token: 'TRUE'
  206. entity.date_format.collection:
  207. path: '/admin/config/regional/date-time'
  208. defaults:
  209. _entity_list: 'date_format'
  210. _title: 'Date and time formats'
  211. requirements:
  212. _permission: 'administer site configuration'
  213. system.date_format_add:
  214. path: '/admin/config/regional/date-time/formats/add'
  215. defaults:
  216. _entity_form: 'date_format.add'
  217. _title: 'Add date format'
  218. requirements:
  219. _permission: 'administer site configuration'
  220. entity.date_format.edit_form:
  221. path: '/admin/config/regional/date-time/formats/manage/{date_format}'
  222. defaults:
  223. _entity_form: 'date_format.edit'
  224. _title: 'Edit date format'
  225. requirements:
  226. _entity_access: 'date_format.update'
  227. entity.date_format.delete_form:
  228. path: '/admin/config/regional/date-time/formats/manage/{date_format}/delete'
  229. defaults:
  230. _entity_form: 'date_format.delete'
  231. _title: 'Delete date format'
  232. requirements:
  233. _entity_access: 'date_format.delete'
  234. system.modules_list:
  235. path: '/admin/modules'
  236. defaults:
  237. _title: 'Extend'
  238. _title_context: 'With components'
  239. _form: 'Drupal\system\Form\ModulesListForm'
  240. requirements:
  241. _permission: 'administer modules'
  242. system.modules_list_confirm:
  243. path: '/admin/modules/list/confirm'
  244. defaults:
  245. _form: 'Drupal\system\Form\ModulesListConfirmForm'
  246. _title: 'Some required modules must be enabled'
  247. requirements:
  248. _permission: 'administer modules'
  249. system.modules_list_experimental_confirm:
  250. path: '/admin/modules/list/confirm-experimental'
  251. defaults:
  252. _form: 'Drupal\system\Form\ModulesListExperimentalConfirmForm'
  253. _title: 'Experimental modules'
  254. requirements:
  255. _permission: 'administer modules'
  256. system.theme_uninstall:
  257. path: '/admin/appearance/uninstall'
  258. defaults:
  259. _controller: 'Drupal\system\Controller\ThemeController::uninstall'
  260. requirements:
  261. _permission: 'administer themes'
  262. _csrf_token: 'TRUE'
  263. system.theme_install:
  264. path: '/admin/appearance/install'
  265. defaults:
  266. _controller: 'Drupal\system\Controller\ThemeController::install'
  267. requirements:
  268. _permission: 'administer themes'
  269. _csrf_token: 'TRUE'
  270. system.status:
  271. path: '/admin/reports/status'
  272. defaults:
  273. _controller: '\Drupal\system\Controller\SystemInfoController::status'
  274. _title: 'Status report'
  275. requirements:
  276. _permission: 'administer site configuration'
  277. system.php:
  278. path: '/admin/reports/status/php'
  279. defaults:
  280. _controller: 'Drupal\system\Controller\SystemInfoController::php'
  281. requirements:
  282. _permission: 'administer site configuration'
  283. # This page should not be treated as administrative since it outputs its own
  284. # content (outside of any administration theme).
  285. options:
  286. _admin_route: FALSE
  287. system.admin_index:
  288. path: '/admin/index'
  289. defaults:
  290. _controller: '\Drupal\system\Controller\AdminController::index'
  291. _title: 'Administration'
  292. requirements:
  293. _permission: 'access administration pages'
  294. system.files:
  295. path: '/system/files/{scheme}'
  296. defaults:
  297. _controller: 'Drupal\system\FileDownloadController::download'
  298. scheme: private
  299. requirements:
  300. _access: 'TRUE'
  301. system.private_file_download:
  302. path: '/system/files/{filepath}'
  303. defaults:
  304. _controller: 'Drupal\system\FileDownloadController::download'
  305. requirements:
  306. # Permissive regex to allow slashes in filepath see
  307. # http://symfony.com/doc/current/cookbook/routing/slash_in_parameter.html
  308. filepath: .+
  309. _access: 'TRUE'
  310. system.temporary:
  311. path: '/system/temporary'
  312. defaults:
  313. _controller: '\Drupal\system\FileDownloadController::download'
  314. scheme: temporary
  315. requirements:
  316. _access: 'TRUE'
  317. system.themes_page:
  318. path: '/admin/appearance'
  319. defaults:
  320. _title: 'Appearance'
  321. _controller: '\Drupal\system\Controller\SystemController::themesPage'
  322. requirements:
  323. _permission: 'administer themes'
  324. system.theme_set_default:
  325. path: '/admin/appearance/default'
  326. defaults:
  327. _title: 'Set as default theme'
  328. _controller: '\Drupal\system\Controller\ThemeController::setDefaultTheme'
  329. requirements:
  330. _permission: 'administer themes'
  331. _csrf_token: 'TRUE'
  332. system.theme_settings:
  333. path: '/admin/appearance/settings'
  334. defaults:
  335. _form: '\Drupal\system\Form\ThemeSettingsForm'
  336. _title: 'Appearance settings'
  337. requirements:
  338. _permission: 'administer themes'
  339. system.theme_settings_theme:
  340. path: '/admin/appearance/settings/{theme}'
  341. defaults:
  342. _form: '\Drupal\system\Form\ThemeSettingsForm'
  343. _title_callback: 'theme_handler:getName'
  344. requirements:
  345. _permission: 'administer themes'
  346. '<front>':
  347. path: '/'
  348. defaults:
  349. _title: Home
  350. requirements:
  351. _access: 'TRUE'
  352. '<none>':
  353. path: ''
  354. options:
  355. _no_path: TRUE
  356. requirements:
  357. _access: 'TRUE'
  358. '<nolink>':
  359. path: ''
  360. options:
  361. _no_path: TRUE
  362. requirements:
  363. _access: 'TRUE'
  364. '<current>':
  365. path: '<current>'
  366. system.modules_uninstall:
  367. path: '/admin/modules/uninstall'
  368. defaults:
  369. _form: 'Drupal\system\Form\ModulesUninstallForm'
  370. _title: 'Uninstall'
  371. requirements:
  372. _permission: 'administer modules'
  373. system.modules_uninstall_confirm:
  374. path: '/admin/modules/uninstall/confirm'
  375. defaults:
  376. _form: 'Drupal\system\Form\ModulesUninstallConfirmForm'
  377. _title: 'Confirm uninstall'
  378. requirements:
  379. _permission: 'administer modules'
  380. system.prepare_modules_entity_uninstall:
  381. path: '/admin/modules/uninstall/entity/{entity_type_id}'
  382. defaults:
  383. _form: '\Drupal\system\Form\PrepareModulesEntityUninstallForm'
  384. _title_callback: '\Drupal\system\Form\PrepareModulesEntityUninstallForm::formTitle'
  385. requirements:
  386. _permission: 'administer modules'
  387. system.timezone:
  388. path: '/system/timezone/{abbreviation}/{offset}/{is_daylight_saving_time}'
  389. defaults:
  390. _controller: '\Drupal\system\Controller\TimezoneController::getTimezone'
  391. abbreviation: ''
  392. offset: -1
  393. is_daylight_saving_time: NULL
  394. requirements:
  395. _access: 'TRUE'
  396. system.admin_config:
  397. path: '/admin/config'
  398. defaults:
  399. _controller: '\Drupal\system\Controller\SystemController::overview'
  400. link_id: 'system.admin_config'
  401. _title: 'Configuration'
  402. requirements:
  403. _permission: 'access administration pages'
  404. system.batch_page.html:
  405. path: '/batch'
  406. defaults:
  407. _controller: '\Drupal\system\Controller\BatchController::batchPage'
  408. _title_callback: '\Drupal\system\Controller\BatchController::batchPageTitle'
  409. requirements:
  410. _access: 'TRUE'
  411. _format: 'html'
  412. options:
  413. _admin_route: TRUE
  414. system.batch_page.json:
  415. path: '/batch'
  416. defaults:
  417. _controller: '\Drupal\system\Controller\BatchController::batchPage'
  418. requirements:
  419. _access: 'TRUE'
  420. _format: 'json'
  421. options:
  422. _admin_route: TRUE
  423. # Note: This route just exists for generating URLs, the dedicated
  424. # frontcontroller is used if the URL is accessed.
  425. system.db_update:
  426. path: '/update.php/{op}'
  427. defaults:
  428. op: 'info'
  429. requirements:
  430. _access_system_update: 'TRUE'
  431. options:
  432. default_url_options:
  433. path_processing: FALSE
  434. system.admin_content:
  435. path: '/admin/content'
  436. defaults:
  437. _controller: '\Drupal\system\Controller\SystemController::overview'
  438. link_id: 'system.admin_content'
  439. _title: 'Content'
  440. requirements:
  441. _permission: 'access administration pages'
  442. system.entity_autocomplete:
  443. path: '/entity_reference_autocomplete/{target_type}/{selection_handler}/{selection_settings_key}'
  444. defaults:
  445. _controller: '\Drupal\system\Controller\EntityAutocompleteController::handleAutocomplete'
  446. requirements:
  447. _access: 'TRUE'
  448. system.csrftoken:
  449. path: '/session/token'
  450. defaults:
  451. _controller: '\Drupal\system\Controller\CsrfTokenController::csrfToken'
  452. requirements:
  453. _access: 'TRUE'