b47174faacfc377bd7e41f52c9c159e3d1fc18e0
[yaffs-website] / web / core / modules / system / tests / modules / system_test / system_test.routing.yml
1 system_test.page_cache_accept_header:
2   path: '/system-test/page-cache/accept-header'
3   defaults:
4     _controller: '\Drupal\system_test\Controller\PageCacheAcceptHeaderController::content'
5   requirements:
6     _access: 'TRUE'
7
8 system_test.main_content_handling:
9   path: '/system-test/main-content-handling'
10   defaults:
11     _title: 'Test main content handling'
12     _controller: '\Drupal\system_test\Controller\SystemTestController::mainContentFallback'
13   requirements:
14     _access: 'TRUE'
15
16 system_test.messenger_service:
17   path: '/system-test/messenger-service'
18   defaults:
19     _title: 'Set messages with Messenger service'
20     _controller: '\Drupal\system_test\Controller\SystemTestController::messengerServiceTest'
21   requirements:
22     _access: 'TRUE'
23
24 system_test.main_content_fallback:
25   path: '/system-test/main-content-fallback'
26   defaults:
27     _title: 'Test main content fallback'
28     _controller: '\Drupal\system_test\Controller\SystemTestController::mainContentFallback'
29   requirements:
30     _access: 'TRUE'
31
32 system_test.lock_acquire:
33   path: '/system-test/lock-acquire'
34   defaults:
35     _title: 'Lock acquire'
36     _controller: '\Drupal\system_test\Controller\SystemTestController::lockAcquire'
37   options:
38     no_cache: TRUE
39   requirements:
40     _access: 'TRUE'
41
42 system_test.lock_exit:
43   path: '/system-test/lock-exit'
44   defaults:
45     _title: 'Lock acquire then exit'
46     _controller: '\Drupal\system_test\Controller\SystemTestController::lockExit'
47   options:
48     no_cache: TRUE
49   requirements:
50     _access: 'TRUE'
51
52 system_test.lock_persist:
53   path: '/system-test/lock-persist/{lock_name}'
54   defaults:
55     _title: 'Persistent lock acquire'
56     _controller: '\Drupal\system_test\Controller\SystemTestController::lockPersist'
57   options:
58     no_cache: TRUE
59   requirements:
60     _access: 'TRUE'
61
62 system_test.cache_tags_page:
63   path: '/system-test/cache_tags_page'
64   defaults:
65     _controller: '\Drupal\system_test\Controller\SystemTestController::system_test_cache_tags_page'
66   requirements:
67     _access: 'TRUE'
68
69 system_test.cache_maxage_page:
70   path: '/system-test/cache_maxage_page'
71   defaults:
72     _controller: '\Drupal\system_test\Controller\SystemTestController::system_test_cache_maxage_page'
73   requirements:
74     _access: 'TRUE'
75
76 system_test.authorize_init:
77   path: '/system-test/authorize-init/{page_title}'
78   defaults:
79     _controller: '\Drupal\system_test\Controller\SystemTestController::authorizeInit'
80   requirements:
81     _permission: 'administer software updates'
82
83 system_test.set_header:
84   path: '/system-test/set-header'
85   defaults:
86     _controller: '\Drupal\system_test\Controller\SystemTestController::setHeader'
87   requirements:
88     _access: 'TRUE'
89
90 system_test.shutdown_functions:
91   path: '/system-test/shutdown-functions/{arg1}/{arg2}'
92   defaults:
93     _controller: '\Drupal\system_test\Controller\SystemTestController::shutdownFunctions'
94   requirements:
95     _access: 'TRUE'
96
97 system_test.configure:
98   path: '/system-test/configure/{foo}'
99   defaults:
100     _title_callback: '\Drupal\system_test\Controller\SystemTestController::configureTitle'
101   requirements:
102     _access: 'TRUE'
103
104 system_test.request_destination:
105   path: '/system-test/request-destination'
106   defaults:
107     _controller: '\Drupal\system_test\Controller\SystemTestController::requestDestination'
108   requirements:
109     _access: 'TRUE'
110
111
112 system_test.get_destination:
113   path: '/system-test/get-destination'
114   defaults:
115     _controller: '\Drupal\system_test\Controller\SystemTestController::getDestination'
116   requirements:
117     _access: 'TRUE'
118
119 system_test.permission_dependent_content:
120   path: '/system-test/permission-dependent-content'
121   defaults:
122     _controller: '\Drupal\system_test\Controller\SystemTestController::permissionDependentContent'
123   requirements:
124     _access: 'TRUE'
125
126 system_test.permission_dependent_route_access:
127   path: '/system-test/permission-dependent-route-access'
128   defaults:
129     _controller: '\Drupal\system_test\Controller\SystemTestController::mainContentFallback'
130   requirements:
131     _permission: 'pet llamas'
132
133 system_test.respond_response:
134   path: '/system-test/respond-reponse'
135   defaults:
136     _controller: '\Drupal\system_test\Controller\SystemTestController::respondWithReponse'
137   requirements:
138     _access: 'TRUE'
139
140 system_test.respond_public_response:
141   path: '/system-test/respond-public-response'
142   defaults:
143     _controller: '\Drupal\system_test\Controller\SystemTestController::respondWithPublicResponse'
144   requirements:
145     _access: 'TRUE'
146
147 system_test.respond_cacheable_response:
148   path: '/system-test/respond-cacheable-reponse'
149   defaults:
150     _controller: '\Drupal\system_test\Controller\SystemTestController::respondWithCacheableReponse'
151   requirements:
152     _access: 'TRUE'
153
154 system_test.date:
155   path: '/system-test/date'
156   defaults:
157     _controller: '\Drupal\system_test\Controller\SystemTestController::getCurrentDate'
158   options:
159     no_cache: 'TRUE'
160   requirements:
161     _access: 'TRUE'
162
163 system_test.custom_4xx_with_limited_access:
164   path: '/system-test/custom-4xx'
165   defaults:
166     _title: 'Admin-only 4xx response'
167     _controller: '\Drupal\system_test\Controller\SystemTestController::mainContentFallback'
168   requirements:
169     _role: 'administrator'
170
171 system_test.always_denied:
172   path: '/system-test/always-denied'
173   defaults:
174     _title: 'Always denied'
175     _controller: 'chop'
176   requirements:
177     _access: 'FALSE'
178
179 system_test.header:
180   path: '/system-test/header'
181   defaults:
182     _controller: '\Drupal\system_test\Controller\SystemTestController::getTestHeader'
183   requirements:
184     _access: 'TRUE'
185
186 system_test.echo:
187   path: '/system-test/echo/{text}'
188   defaults:
189     _controller: '\Drupal\system_test\Controller\SystemTestController::simpleEcho'
190   requirements:
191     _access: 'TRUE'
192
193 system_test.echo_utf8:
194   path: '/system-test/Ȅchȏ/meφΩ/{text}'
195   defaults:
196     _controller: '\Drupal\system_test\Controller\SystemTestController::simpleEcho'
197   requirements:
198     _access: 'TRUE'
199
200 system_test.custom_cache_control:
201   path: '/system-test/custom-cache-control'
202   defaults:
203     _title: 'Cacheable response with custom cache control'
204     _controller: '\Drupal\system_test\Controller\SystemTestController::getCacheableResponseWithCustomCacheControl'
205   requirements:
206     _access: 'TRUE'