You are here

system.routing.yml in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/system/system.routing.yml
core/modules/system/system.routing.yml

File

core/modules/system/system.routing.yml
View source
  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: 'Site information'
  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.theme_uninstall:
  243. path: '/admin/appearance/uninstall'
  244. defaults:
  245. _controller: 'Drupal\system\Controller\ThemeController::uninstall'
  246. requirements:
  247. _permission: 'administer themes'
  248. _csrf_token: 'TRUE'
  249. system.theme_install:
  250. path: '/admin/appearance/install'
  251. defaults:
  252. _controller: 'Drupal\system\Controller\ThemeController::install'
  253. requirements:
  254. _permission: 'administer themes'
  255. _csrf_token: 'TRUE'
  256. system.status:
  257. path: '/admin/reports/status'
  258. defaults:
  259. _controller: '\Drupal\system\Controller\SystemInfoController::status'
  260. _title: 'Status report'
  261. requirements:
  262. _permission: 'administer site configuration'
  263. system.php:
  264. path: '/admin/reports/status/php'
  265. defaults:
  266. _controller: 'Drupal\system\Controller\SystemInfoController::php'
  267. requirements:
  268. _permission: 'administer site configuration'
  269. # This page should not be treated as administrative since it outputs its own
  270. # content (outside of any administration theme).
  271. options:
  272. _admin_route: FALSE
  273. system.admin_index:
  274. path: '/admin/index'
  275. defaults:
  276. _controller: '\Drupal\system\Controller\AdminController::index'
  277. _title: 'Administration'
  278. requirements:
  279. _permission: 'access administration pages'
  280. system.files:
  281. path: '/system/files/{scheme}'
  282. defaults:
  283. _controller: 'Drupal\system\FileDownloadController::download'
  284. scheme: private
  285. requirements:
  286. _access: 'TRUE'
  287. system.private_file_download:
  288. path: '/system/files/{filepath}'
  289. defaults:
  290. _controller: 'Drupal\system\FileDownloadController::download'
  291. requirements:
  292. # Permissive regex to allow slashes in filepath see
  293. # http://symfony.com/doc/current/cookbook/routing/slash_in_parameter.html
  294. filepath: .+
  295. _access: 'TRUE'
  296. system.temporary:
  297. path: '/system/temporary'
  298. defaults:
  299. _controller: '\Drupal\system\FileDownloadController::download'
  300. scheme: temporary
  301. requirements:
  302. _access: 'TRUE'
  303. system.themes_page:
  304. path: '/admin/appearance'
  305. defaults:
  306. _title: 'Appearance'
  307. _controller: '\Drupal\system\Controller\SystemController::themesPage'
  308. requirements:
  309. _permission: 'administer themes'
  310. system.theme_set_default:
  311. path: '/admin/appearance/default'
  312. defaults:
  313. _title: 'Set as default theme'
  314. _controller: '\Drupal\system\Controller\ThemeController::setDefaultTheme'
  315. requirements:
  316. _permission: 'administer themes'
  317. _csrf_token: 'TRUE'
  318. system.theme_settings:
  319. path: '/admin/appearance/settings'
  320. defaults:
  321. _form: '\Drupal\system\Form\ThemeSettingsForm'
  322. _title: 'Appearance settings'
  323. requirements:
  324. _permission: 'administer themes'
  325. system.theme_settings_theme:
  326. path: '/admin/appearance/settings/{theme}'
  327. defaults:
  328. _form: '\Drupal\system\Form\ThemeSettingsForm'
  329. _title_callback: 'theme_handler:getName'
  330. requirements:
  331. _permission: 'administer themes'
  332. '<front>':
  333. path: '/'
  334. defaults:
  335. _title: Home
  336. requirements:
  337. _access: 'TRUE'
  338. '<none>':
  339. path: ''
  340. options:
  341. _no_path: TRUE
  342. requirements:
  343. _access: 'TRUE'
  344. '<current>':
  345. path: '<current>'
  346. system.modules_uninstall:
  347. path: '/admin/modules/uninstall'
  348. defaults:
  349. _form: 'Drupal\system\Form\ModulesUninstallForm'
  350. _title: 'Uninstall'
  351. requirements:
  352. _permission: 'administer modules'
  353. system.modules_uninstall_confirm:
  354. path: '/admin/modules/uninstall/confirm'
  355. defaults:
  356. _form: 'Drupal\system\Form\ModulesUninstallConfirmForm'
  357. _title: 'Confirm uninstall'
  358. requirements:
  359. _permission: 'administer modules'
  360. system.timezone:
  361. path: '/system/timezone/{abbreviation}/{offset}/{is_daylight_saving_time}'
  362. defaults:
  363. _controller: '\Drupal\system\Controller\TimezoneController::getTimezone'
  364. abbreviation: ''
  365. offset: -1
  366. is_daylight_saving_time: NULL
  367. requirements:
  368. _access: 'TRUE'
  369. system.admin_config:
  370. path: '/admin/config'
  371. defaults:
  372. _controller: '\Drupal\system\Controller\SystemController::overview'
  373. link_id: 'system.admin_config'
  374. _title: 'Configuration'
  375. requirements:
  376. _permission: 'access administration pages'
  377. system.batch_page.html:
  378. path: '/batch'
  379. defaults:
  380. _controller: '\Drupal\system\Controller\BatchController::batchPage'
  381. _title_callback: '\Drupal\system\Controller\BatchController::batchPageTitle'
  382. requirements:
  383. _access: 'TRUE'
  384. _format: 'html'
  385. options:
  386. _admin_route: TRUE
  387. system.batch_page.json:
  388. path: '/batch'
  389. defaults:
  390. _controller: '\Drupal\system\Controller\BatchController::batchPage'
  391. requirements:
  392. _access: 'TRUE'
  393. _format: 'json'
  394. options:
  395. _admin_route: TRUE
  396. # Note: This route just exists for generating URLs, the dedicated
  397. # frontcontroller is used if the URL is accessed.
  398. system.db_update:
  399. path: '/update.php/{op}'
  400. defaults:
  401. op: 'info'
  402. requirements:
  403. _access: 'TRUE'
  404. system.admin_content:
  405. path: '/admin/content'
  406. defaults:
  407. _controller: '\Drupal\system\Controller\SystemController::overview'
  408. link_id: 'system.admin_content'
  409. _title: 'Content'
  410. requirements:
  411. _permission: 'access administration pages'
  412. system.entity_autocomplete:
  413. path: '/entity_reference_autocomplete/{target_type}/{selection_handler}/{selection_settings_key}'
  414. defaults:
  415. _controller: '\Drupal\system\Controller\EntityAutocompleteController::handleAutocomplete'
  416. requirements:
  417. _access: 'TRUE'