Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / system / tests / modules / test_page_test / test_page_test.routing.yml
1 test_page_test.test_page:
2   path: '/test-page'
3   defaults:
4     _title: 'Test front page'
5     _controller: '\Drupal\test_page_test\Controller\TestPageTestController::testPage'
6   requirements:
7     _access: 'TRUE'
8
9 test_page_test.render_title:
10   path: '/test-render-title'
11   defaults:
12     _controller: '\Drupal\test_page_test\Controller\Test::renderTitle'
13   requirements:
14     _access: 'TRUE'
15
16 test_page_test.static_title:
17   path: '/test-page-static-title'
18   defaults:
19     _controller: '\Drupal\test_page_test\Controller\Test::staticTitle'
20     _title: 'Static title'
21   requirements:
22     _access: 'TRUE'
23
24 test_page_test.cached_controller:
25   path: '/test-page-cached-controller'
26   defaults:
27     _controller: '\Drupal\test_page_test\Controller\Test::controllerWithCache'
28   requirements:
29     _access: 'TRUE'
30
31 test_page_test.dynamic_title:
32   path: '/test-page-dynamic-title'
33   defaults:
34     _controller: '\Drupal\test_page_test\Controller\Test::staticTitle'
35     _title_callback: 'Drupal\test_page_test\Controller\Test::dynamicTitle'
36   requirements:
37     _access: 'TRUE'
38
39 test_page_test.admin_render_title:
40   path: '/admin/test-render-title'
41   defaults:
42     _controller: '\Drupal\test_page_test\Controller\Test::renderTitle'
43   requirements:
44     _access: 'TRUE'
45
46 test_page_test.http_response_exception:
47   path: '/test-http-response-exception/{code}'
48   defaults:
49     _controller: '\Drupal\test_page_test\Controller\Test::httpResponseException'
50     code: 200
51   requirements:
52     _access: 'TRUE'
53
54 test_page_test.error:
55   path: '/test-error'
56   defaults:
57     _controller: '\Drupal\test_page_test\Controller\Test::error'
58     code: 200
59   requirements:
60     _access: 'TRUE'
61
62 test_page_test.encoded:
63   path: '/test-encoded'
64   defaults:
65     _title: 'Page with encoded HTML'
66     _controller: '\Drupal\test_page_test\Controller\Test::renderEncodedMarkup'
67   requirements:
68     _access: 'TRUE'
69
70 test_page_test.pipe:
71   path: '/test-pipe-char'
72   defaults:
73     _title: 'Page with pipe char in link'
74     _controller: '\Drupal\test_page_test\Controller\Test::renderPipeInLink'
75   requirements:
76     _access: 'TRUE'
77
78 test_page_test.field_xpath:
79   path: '/test-field-xpath'
80   defaults:
81     _title: 'Table and form elements for field xpath assertion testing'
82     _form: '\Drupal\test_page_test\Form\TestForm'
83   requirements:
84     _access: 'TRUE'
85
86 test_page_test.meta_refresh:
87   path: '/test-meta-refresh'
88   defaults:
89     _title: 'Page with a redirect'
90     _controller: '\Drupal\test_page_test\Controller\Test::metaRefresh'
91   requirements:
92     _access: 'TRUE'