system.routing.yml

Same filename in other branches
  1. 8.9.x core/modules/system/system.routing.yml
  2. 10 core/modules/system/system.routing.yml
  3. 11.x core/modules/system/system.routing.yml
core/modules/system/system.routing.yml
88 string references to YAML keys in system.routing.yml
authorize.php in core/authorize.php
Administrative script for running authorized file operations.
BasicAuthTest::testBasicAuth in core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
Tests http basic authentication.
BatchNegotiator::applies in core/modules/system/src/Theme/BatchNegotiator.php
Whether this theme negotiator should be used to set the theme.
batch_process in core/includes/form.inc
Processes the batch.
BigPipePlaceholderTestCases::cases in core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php
Gets all BigPipe placeholder test cases.

... See full list

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.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+administer software updates'
  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_non_stable_confirm:
  250. path: '/admin/modules/list/confirm-non-stable'
  251. defaults:
  252. _form: '\Drupal\system\Form\ModulesListNonStableConfirmForm'
  253. _title: 'Non-stable 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. '<button>':
  365. path: ''
  366. options:
  367. _no_path: TRUE
  368. requirements:
  369. _access: 'TRUE'
  370. '<current>':
  371. path: '<current>'
  372. system.modules_uninstall:
  373. path: '/admin/modules/uninstall'
  374. defaults:
  375. _form: '\Drupal\system\Form\ModulesUninstallForm'
  376. _title: 'Uninstall'
  377. requirements:
  378. _permission: 'administer modules'
  379. system.modules_uninstall_confirm:
  380. path: '/admin/modules/uninstall/confirm'
  381. defaults:
  382. _form: '\Drupal\system\Form\ModulesUninstallConfirmForm'
  383. _title: 'Confirm uninstall'
  384. requirements:
  385. _permission: 'administer modules'
  386. system.prepare_modules_entity_uninstall:
  387. path: '/admin/modules/uninstall/entity/{entity_type_id}'
  388. defaults:
  389. _form: '\Drupal\system\Form\PrepareModulesEntityUninstallForm'
  390. _title_callback: '\Drupal\system\Form\PrepareModulesEntityUninstallForm::formTitle'
  391. requirements:
  392. _permission: 'administer modules'
  393. system.timezone:
  394. path: '/system/timezone/{abbreviation}/{offset}/{is_daylight_saving_time}'
  395. defaults:
  396. _controller: '\Drupal\system\Controller\TimezoneController::getTimezone'
  397. abbreviation: ''
  398. offset: -1
  399. is_daylight_saving_time: NULL
  400. requirements:
  401. _access: 'TRUE'
  402. abbreviation: '0|([A-Z]{3,5})'
  403. offset: '\-?\d+'
  404. is_daylight_saving_time: '\-1|0|1'
  405. system.admin_config:
  406. path: '/admin/config'
  407. defaults:
  408. _controller: '\Drupal\system\Controller\SystemController::overview'
  409. link_id: 'system.admin_config'
  410. _title: 'Configuration'
  411. requirements:
  412. _permission: 'access administration pages'
  413. system.batch_page.html:
  414. path: '/batch'
  415. defaults:
  416. _controller: '\Drupal\system\Controller\BatchController::batchPage'
  417. _title_callback: '\Drupal\system\Controller\BatchController::batchPageTitle'
  418. requirements:
  419. _access: 'TRUE'
  420. _format: 'html'
  421. options:
  422. _admin_route: TRUE
  423. system.batch_page.json:
  424. path: '/batch'
  425. defaults:
  426. _controller: '\Drupal\system\Controller\BatchController::batchPage'
  427. requirements:
  428. _access: 'TRUE'
  429. _format: 'json'
  430. options:
  431. _admin_route: TRUE
  432. # Note: This route just exists for generating URLs, the dedicated
  433. # front controller is used if the URL is accessed.
  434. system.db_update:
  435. path: '/update.php/{op}'
  436. defaults:
  437. op: 'info'
  438. requirements:
  439. _access_system_update: 'TRUE'
  440. options:
  441. default_url_options:
  442. path_processing: FALSE
  443. system.admin_content:
  444. path: '/admin/content'
  445. defaults:
  446. _controller: '\Drupal\system\Controller\SystemController::overview'
  447. link_id: 'system.admin_content'
  448. _title: 'Content'
  449. requirements:
  450. _permission: 'access administration pages'
  451. system.entity_autocomplete:
  452. path: '/entity_reference_autocomplete/{target_type}/{selection_handler}/{selection_settings_key}'
  453. defaults:
  454. _controller: '\Drupal\system\Controller\EntityAutocompleteController::handleAutocomplete'
  455. requirements:
  456. _access: 'TRUE'
  457. system.csrftoken:
  458. path: '/session/token'
  459. defaults:
  460. _controller: '\Drupal\system\Controller\CsrfTokenController::csrfToken'
  461. requirements:
  462. _access: 'TRUE'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.