system_test.routing.yml 2.72 KB
Newer Older
1
system_test.page_cache_accept_header:
2
  path: '/system-test/page-cache/accept-header'
3 4 5 6 7
  defaults:
    _controller: '\Drupal\system_test\Controller\PageCacheAcceptHeaderController::content'
  requirements:
    _access: 'TRUE'

8 9 10 11
system_test.main_content_handling:
  path: '/system-test/main-content-handling'
  defaults:
    _title: 'Test main content handling'
12
    _controller: '\Drupal\system_test\Controller\SystemTestController::mainContentFallback'
13 14
  requirements:
    _access: 'TRUE'
15 16 17 18 19

system_test.drupal_set_message:
  path: '/system-test/drupal-set-message'
  defaults:
    _title: 'Set messages with drupal_set_message()'
20
    _controller: '\Drupal\system_test\Controller\SystemTestController::drupalSetMessageTest'
21 22
  requirements:
    _access: 'TRUE'
23 24 25 26 27

system_test.main_content_fallback:
  path: '/system-test/main-content-fallback'
  defaults:
    _title: 'Test main content fallback'
28
    _controller: '\Drupal\system_test\Controller\SystemTestController::mainContentFallback'
29 30 31 32 33 34 35
  requirements:
    _access: 'TRUE'

system_test.lock_acquire:
  path: '/system-test/lock-acquire'
  defaults:
    _title: 'Lock acquire'
36
    _controller: '\Drupal\system_test\Controller\SystemTestController::lockAcquire'
37 38 39 40 41 42 43
  requirements:
    _access: 'TRUE'

system_test.lock_exit:
  path: '/system-test/lock-exit'
  defaults:
    _title: 'Lock acquire then exit'
44
    _controller: '\Drupal\system_test\Controller\SystemTestController::lockExit'
45 46 47
  requirements:
    _access: 'TRUE'

48 49 50 51
system_test.lock_persist:
  path: '/system-test/lock-persist/{lock_name}'
  defaults:
    _title: 'Persistent lock acquire'
52
    _controller: '\Drupal\system_test\Controller\SystemTestController::lockPersist'
53 54 55
  requirements:
    _access: 'TRUE'

56 57 58
system_test.cache_tags_page:
  path: '/system-test/cache_tags_page'
  defaults:
59
    _controller: '\Drupal\system_test\Controller\SystemTestController::system_test_cache_tags_page'
60 61 62
  requirements:
    _access: 'TRUE'

63 64 65 66 67 68 69 70 71 72
system_test.authorize_init:
  path: '/system-test/authorize-init/{page_title}'
  defaults:
    _controller: '\Drupal\system_test\Controller\SystemTestController::authorizeInit'
  requirements:
    _permission: 'administer software updates'

system_test.set_header:
  path: '/system-test/set-header'
  defaults:
73
    _controller: '\Drupal\system_test\Controller\SystemTestController::setHeader'
74
  requirements:
75
    _access: 'TRUE'
76 77 78 79

system_test.shutdown_functions:
  path: '/system-test/shutdown-functions/{arg1}/{arg2}'
  defaults:
80
    _controller: '\Drupal\system_test\Controller\SystemTestController::shutdownFunctions'
81 82
  requirements:
    _access: 'TRUE'
83 84 85

system_test.configure:
  path: '/system-test/configure/{foo}'
86 87
  defaults:
    _title_callback: '\Drupal\system_test\Controller\SystemTestController::configureTitle'
88 89
  requirements:
    _access: 'TRUE'