system.routing.yml 12.9 KB
Newer Older
1 2 3 4 5 6 7 8
system.401:
  path: '/system/401'
  defaults:
    _controller: '\Drupal\system\Controller\Http4xxController:on401'
    _title: 'Unauthorized'
  requirements:
    _access: 'TRUE'

9 10 11
system.403:
  path: '/system/403'
  defaults:
12
    _controller: '\Drupal\system\Controller\Http4xxController:on403'
13 14 15 16 17 18 19
    _title: 'Access denied'
  requirements:
    _access: 'TRUE'

system.404:
  path: '/system/404'
  defaults:
20
    _controller: '\Drupal\system\Controller\Http4xxController:on404'
21 22 23 24
    _title: 'Page not found'
  requirements:
    _access: 'TRUE'

25
system.admin:
26
  path: '/admin'
27
  defaults:
28
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
29
    _title: 'Administration'
30 31 32
  requirements:
    _permission: 'access administration pages'

33
system.admin_structure:
34
  path: '/admin/structure'
35
  defaults:
36
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
37
    _title: 'Structure'
38 39 40
  requirements:
    _permission: 'access administration pages'

41
system.admin_reports:
42
  path: '/admin/reports'
43
  defaults:
44
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
45
    _title: 'Reports'
46 47 48
  requirements:
    _permission: 'access site reports'

49
system.admin_config_media:
50
  path: '/admin/config/media'
51
  defaults:
52
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
53
    _title: 'Media'
54 55 56
  requirements:
    _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 63 64
  requirements:
    _permission: 'access administration pages'

65
system.admin_config_development:
66
  path: '/admin/config/development'
67
  defaults:
68
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
69
    _title: 'Development'
70 71 72
  requirements:
    _permission: 'access administration pages'

73
system.admin_config_regional:
74
  path: '/admin/config/regional'
75
  defaults:
76
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
77
    _title: 'Regional and language'
78 79 80
  requirements:
    _permission: 'access administration pages'

81
system.admin_config_search:
82
  path: '/admin/config/search'
83
  defaults:
84
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
85
    _title: 'Search and metadata'
86 87 88
  requirements:
    _permission: 'access administration pages'

89
system.admin_config_system:
90
  path: '/admin/config/system'
91
  defaults:
92
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
93
    _title: 'System'
94 95 96
  requirements:
    _permission: 'access administration pages'

97
system.admin_config_ui:
98
  path: '/admin/config/user-interface'
99
  defaults:
100
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
101
    _title: 'User interface'
102 103 104
  requirements:
    _permission: 'access administration pages'

105
system.admin_config_workflow:
106
  path: '/admin/config/workflow'
107
  defaults:
108
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
109
    _title: 'Workflow'
110 111 112
  requirements:
    _permission: 'access administration pages'

113
system.admin_config_content:
114
  path: '/admin/config/content'
115
  defaults:
116
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
117
    _title: 'Content authoring'
118 119 120
  requirements:
    _permission: 'access administration pages'

121
system.cron:
122
  path: '/cron/{key}'
123 124
  defaults:
    _controller: '\Drupal\system\CronController::run'
125 126
  options:
    no_cache: TRUE
127 128
  requirements:
    _access_system_cron: 'TRUE'
129

130
system.admin_compact_page:
131
  path: '/admin/compact/{mode}'
132 133 134 135 136 137
  defaults:
    _controller: 'Drupal\system\Controller\SystemController::compactPage'
    mode: 'off'
  requirements:
    _permission: 'access administration pages'

138
system.machine_name_transliterate:
139
  path: '/machine_name/transliterate'
140 141 142 143
  defaults:
    _controller: '\Drupal\system\MachineNameController::transliterate'
  requirements:
    _permission: 'access content'
144

145
system.site_information_settings:
146
  path: '/admin/config/system/site-information'
147 148
  defaults:
    _form: 'Drupal\system\Form\SiteInformationForm'
149
    _title: 'Site information'
150 151 152
  requirements:
    _permission: 'administer site configuration'

153
system.cron_settings:
154
  path: '/admin/config/system/cron'
155 156
  defaults:
    _form: 'Drupal\system\Form\CronForm'
157
    _title: 'Cron'
158 159 160
  requirements:
    _permission: 'administer site configuration'

161
system.logging_settings:
162
  path: '/admin/config/development/logging'
163 164
  defaults:
    _form: 'Drupal\system\Form\LoggingForm'
165
    _title: 'Logging and errors'
166 167 168
  requirements:
    _permission: 'administer site configuration'

169
system.performance_settings:
170
  path: '/admin/config/development/performance'
171 172
  defaults:
    _form: 'Drupal\system\Form\PerformanceForm'
173
    _title: 'Performance'
174 175 176
  requirements:
    _permission: 'administer site configuration'

177
system.file_system_settings:
178
  path: '/admin/config/media/file-system'
179 180
  defaults:
    _form: 'Drupal\system\Form\FileSystemForm'
181
    _title: 'File system'
182 183 184
  requirements:
    _permission: 'administer site configuration'

185
system.rss_feeds_settings:
186
  path: '/admin/config/services/rss-publishing'
187 188
  defaults:
    _form: 'Drupal\system\Form\RssFeedsForm'
189
    _title: 'RSS publishing'
190 191 192
  requirements:
    _permission: 'administer site configuration'

193
system.regional_settings:
194
  path: '/admin/config/regional/settings'
195 196
  defaults:
    _form: 'Drupal\system\Form\RegionalForm'
197
    _title: 'Regional settings'
198 199 200
  requirements:
    _permission: 'administer site configuration'

201
system.image_toolkit_settings:
202
  path: '/admin/config/media/image-toolkit'
203 204
  defaults:
    _form: 'Drupal\system\Form\ImageToolkitForm'
205
    _title: 'Image toolkit'
206
  requirements:
207
    _permission: 'administer site configuration'
208

209
system.site_maintenance_mode:
210
  path: '/admin/config/development/maintenance'
211 212
  defaults:
    _form: 'Drupal\system\Form\SiteMaintenanceModeForm'
213
    _title: 'Maintenance mode'
214 215
  requirements:
    _permission: 'administer site configuration'
216

217
system.run_cron:
218
  path: '/admin/reports/status/run-cron'
219
  defaults:
220
    _controller: '\Drupal\system\CronController::runManually'
221 222
  options:
    no_cache: TRUE
223 224
  requirements:
    _permission: 'administer site configuration'
225
    _csrf_token: 'TRUE'
226

227
entity.date_format.collection:
228
  path: '/admin/config/regional/date-time'
229
  defaults:
230
    _entity_list: 'date_format'
231
    _title: 'Date and time formats'
232 233 234
  requirements:
    _permission: 'administer site configuration'

235
system.date_format_add:
236
  path: '/admin/config/regional/date-time/formats/add'
237
  defaults:
238
    _entity_form: 'date_format.add'
239
    _title: 'Add date format'
240 241 242
  requirements:
    _permission: 'administer site configuration'

243
entity.date_format.edit_form:
244
  path: '/admin/config/regional/date-time/formats/manage/{date_format}'
245 246
  defaults:
    _entity_form: 'date_format.edit'
247
    _title: 'Edit date format'
248 249 250
  requirements:
    _entity_access: 'date_format.update'

251
entity.date_format.delete_form:
252
  path: '/admin/config/regional/date-time/formats/manage/{date_format}/delete'
253
  defaults:
254
    _entity_form: 'date_format.delete'
255
    _title: 'Delete date format'
256
  requirements:
257
    _entity_access: 'date_format.delete'
258

259
system.modules_list:
260
  path: '/admin/modules'
261
  defaults:
262 263
    _title: 'Extend'
    _title_context: 'With components'
264 265 266 267
    _form: 'Drupal\system\Form\ModulesListForm'
  requirements:
    _permission: 'administer modules'

268
system.modules_list_confirm:
269
  path: '/admin/modules/list/confirm'
270 271
  defaults:
    _form: 'Drupal\system\Form\ModulesListConfirmForm'
272
    _title: 'Some required modules must be enabled'
273 274 275
  requirements:
    _permission: 'administer modules'

276 277
system.theme_uninstall:
  path: '/admin/appearance/uninstall'
278
  defaults:
279
    _controller: 'Drupal\system\Controller\ThemeController::uninstall'
280 281
  requirements:
    _permission: 'administer themes'
282
    _csrf_token: 'TRUE'
283

284 285
system.theme_install:
  path: '/admin/appearance/install'
286
  defaults:
287
    _controller: 'Drupal\system\Controller\ThemeController::install'
288 289
  requirements:
    _permission: 'administer themes'
290
    _csrf_token: 'TRUE'
291

292
system.status:
293
  path: '/admin/reports/status'
294
  defaults:
295
    _controller: '\Drupal\system\Controller\SystemInfoController::status'
296
    _title: 'Status report'
297 298 299
  requirements:
    _permission: 'administer site configuration'

300
system.php:
301
  path: '/admin/reports/status/php'
302 303 304 305
  defaults:
    _controller: 'Drupal\system\Controller\SystemInfoController::php'
  requirements:
    _permission: 'administer site configuration'
306 307 308 309
  # This page should not be treated as administrative since it outputs its own
  # content (outside of any administration theme).
  options:
    _admin_route: FALSE
310

311
system.admin_index:
312
  path: '/admin/index'
313
  defaults:
314
    _controller: '\Drupal\system\Controller\AdminController::index'
315
    _title: 'Administration'
316 317
  requirements:
    _permission: 'access administration pages'
318

319
system.files:
320
  path: '/system/files/{scheme}'
321 322 323 324 325 326
  defaults:
    _controller: 'Drupal\system\FileDownloadController::download'
    scheme: private
  requirements:
    _access: 'TRUE'

327 328 329 330 331 332 333 334 335 336
system.private_file_download:
  path: '/system/files/{filepath}'
  defaults:
    _controller: 'Drupal\system\FileDownloadController::download'
  requirements:
    # Permissive regex to allow slashes in filepath see
    # http://symfony.com/doc/current/cookbook/routing/slash_in_parameter.html
    filepath: .+
    _access: 'TRUE'

337 338 339 340 341 342 343 344 345 346 347 348
system.temporary:
  path: '/system/temporary'
  defaults:
    _controller: '\Drupal\system\FileDownloadController::download'
    scheme: temporary
  requirements:
    _access: 'TRUE'

system.themes_page:
  path: '/admin/appearance'
  defaults:
    _title: 'Appearance'
349
    _controller: '\Drupal\system\Controller\SystemController::themesPage'
350 351 352 353 354 355
  requirements:
    _permission: 'administer themes'

system.theme_set_default:
  path: '/admin/appearance/default'
  defaults:
356
    _title: 'Set as default theme'
357
    _controller: '\Drupal\system\Controller\ThemeController::setDefaultTheme'
358 359
  requirements:
    _permission: 'administer themes'
360
    _csrf_token: 'TRUE'
361

362
system.theme_settings:
363
  path: '/admin/appearance/settings'
364 365
  defaults:
    _form: '\Drupal\system\Form\ThemeSettingsForm'
366
    _title: 'Settings'
367 368 369
  requirements:
    _permission: 'administer themes'

370 371 372 373
system.theme_settings_theme:
  path: '/admin/appearance/settings/{theme}'
  defaults:
    _form: '\Drupal\system\Form\ThemeSettingsForm'
374
    _title_callback: 'theme_handler:getName'
375 376 377
  requirements:
    _permission: 'administer themes'

378
'<front>':
379
  path: '/'
380 381
  defaults:
    _title: Home
382 383 384
  requirements:
    _access: 'TRUE'

385
'<none>':
386 387
  path: ''
  options:
388
    _no_path: TRUE
389 390
  requirements:
    _access: 'TRUE'
391 392 393 394

'<current>':
  path: '<current>'

395
system.modules_uninstall:
396
  path: '/admin/modules/uninstall'
397 398
  defaults:
    _form: 'Drupal\system\Form\ModulesUninstallForm'
399
    _title: 'Uninstall'
400 401 402
  requirements:
    _permission: 'administer modules'

403
system.modules_uninstall_confirm:
404
  path: '/admin/modules/uninstall/confirm'
405 406
  defaults:
    _form: 'Drupal\system\Form\ModulesUninstallConfirmForm'
407
    _title: 'Confirm uninstall'
408 409 410
  requirements:
    _permission: 'administer modules'

411
system.timezone:
412
  path: '/system/timezone/{abbreviation}/{offset}/{is_daylight_saving_time}'
413 414
  defaults:
    _controller: '\Drupal\system\Controller\TimezoneController::getTimezone'
415 416 417
    abbreviation: ''
    offset: -1
    is_daylight_saving_time: NULL
418 419
  requirements:
    _access: 'TRUE'
420

421
system.admin_config:
422
  path: '/admin/config'
423
  defaults:
424
    _controller: '\Drupal\system\Controller\SystemController::overview'
425
    link_id: 'system.admin_config'
426
    _title: 'Configuration'
427 428
  requirements:
    _permission: 'access administration pages'
429

430
system.batch_page.html:
431 432
  path: '/batch'
  defaults:
433
    _controller: '\Drupal\system\Controller\BatchController::batchPage'
434
    _title_callback: '\Drupal\system\Controller\BatchController::batchPageTitle'
435 436
  requirements:
    _access: 'TRUE'
437
    _format: 'html'
438 439
  options:
    _admin_route: TRUE
440 441

system.batch_page.json:
442
  path: '/batch'
443 444 445 446
  defaults:
    _controller: '\Drupal\system\Controller\BatchController::batchPage'
  requirements:
    _access: 'TRUE'
447
    _format: 'json'
448 449
  options:
    _admin_route: TRUE
450

451 452 453 454 455 456
system.db_update:
  path: '/update.php/{op}'
  defaults:
    _title: 'Drupal database update'
    _controller: '\Drupal\system\Controller\DbUpdateController::handle'
    op: 'info'
457 458
  options:
    _maintenance_access: TRUE
459 460
  requirements:
    _access_system_update: 'TRUE'
461 462 463 464

system.admin_content:
  path: '/admin/content'
  defaults:
465
    _controller: '\Drupal\system\Controller\SystemController::overview'
466
    link_id: 'system.admin_content'
467 468 469
    _title: 'Content'
  requirements:
    _permission: 'access administration pages'
470 471

system.entity_autocomplete:
472
  path: '/entity_reference_autocomplete/{target_type}/{selection_handler}/{selection_settings_key}'
473 474 475 476
  defaults:
    _controller: '\Drupal\system\Controller\EntityAutocompleteController::handleAutocomplete'
  requirements:
    _access: 'TRUE'