Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / system / tests / modules / entity_test / entity_test.routing.yml
1 entity.entity_test.canonical:
2   path: '/entity_test/{entity_test}'
3   defaults:
4     _entity_view: 'entity_test.full'
5     _title: 'Test full view mode'
6   requirements:
7     _entity_access: 'entity_test.view'
8
9 entity.entity_test.render_options:
10   path: '/entity_test_converter/{foo}'
11   options:
12     parameters:
13       foo:
14         type: 'entity:entity_test'
15   defaults:
16     _entity_view: 'entity_test.full'
17   requirements:
18     _entity_access: 'foo.view'
19
20 entity.entity_test.render_no_view_mode:
21   path: '/entity_test_no_view_mode/{entity_test}'
22   defaults:
23     _entity_view: 'entity_test'
24   requirements:
25     _access: 'TRUE'
26
27 entity.entity_test.collection_referencing_entities:
28   path: '/entity_test/list/{entity_reference_field_name}/{referenced_entity_type}/{referenced_entity_id}'
29   defaults:
30     _controller: '\Drupal\entity_test\Controller\EntityTestController::listReferencingEntities'
31     _title: 'List entity_test entities referencing the given entity'
32   requirements:
33     _access: 'TRUE'
34
35 entity.entity_test.collection_labels_alphabetically:
36   path: '/entity_test/list_labels_alphabetically/{entity_type_id}'
37   defaults:
38     _controller: '\Drupal\entity_test\Controller\EntityTestController::listEntitiesAlphabetically'
39     _title: 'List labels of entities of the given entity type alphabetically'
40   requirements:
41     _access: 'TRUE'
42
43 entity.entity_test.collection_empty:
44   path: '/entity_test/list_empty/{entity_type_id}'
45   defaults:
46     _controller: '\Drupal\entity_test\Controller\EntityTestController::listEntitiesEmpty'
47     _title: 'Empty list of entities of the given entity type, empty because no entities match the query'
48   requirements:
49     _access: 'TRUE'
50
51 entity.entity_test.collection:
52   path: '/entity_test/list'
53   defaults:
54     _entity_list: entity_test
55   requirements:
56     _access: 'TRUE'
57
58 entity.entity_test_rev.revision:
59   path: '/entity_test_rev/{entity_test_rev}/revision/{entity_test_rev_revision}/view'
60   defaults:
61     _controller: '\Drupal\Core\Entity\Controller\EntityViewController::viewRevision'
62   options:
63     parameters:
64       entity_test_rev:
65         type: entity:entity_test_rev
66       entity_test_rev_revision:
67         type: entity_revision:entity_test_rev
68   requirements:
69     _access: 'TRUE'
70
71 entity.entity_test_mulrev.revision:
72   path: '/entity_test_mulrev/{entity_test_mulrev}/revision/{entity_test_mulrev_revision}/view'
73   defaults:
74     _controller: '\Drupal\Core\Entity\Controller\EntityViewController::viewRevision'
75   options:
76     parameters:
77       entity_test_mulrev:
78         type: entity:entity_test_mulrev
79       entity_test_mulrev_revision:
80         type: entity_revision:entity_test_mulrev
81   requirements:
82     _access: 'TRUE'
83
84 entity.block.test_operation:
85   path: '/admin/structure/block/manage/{block}/test_operation'
86   defaults:
87     _entity_view: 'entity_test'
88   requirements:
89     _access: 'TRUE'
90
91 entity.user_role.test_operation:
92   path: '/admin/people/roles/manage/{user_role}/test_operation'
93   defaults:
94     _entity_view: 'entity_test'
95   requirements:
96     _access: 'TRUE'
97
98 entity.entity_test_view_builder.canonical:
99   path: '/entity_test_view_builder/{entity_test_view_builder}'
100   defaults:
101     _entity_view: 'entity_test_view_builder'
102   requirements:
103     _access: 'TRUE'
104
105 route_callbacks:
106   - '\Drupal\entity_test\Routing\EntityTestRoutes::routes'