system.routing.yml 14 KB

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