forked from drupal-graphql/graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
graphql.routing.yml
91 lines (83 loc) · 2.54 KB
/
graphql.routing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
entity.graphql_server.collection:
path: '/admin/config/graphql'
defaults:
_entity_list: 'graphql_server'
_title: 'Servers'
requirements:
_permission: 'administer graphql configuration'
options:
_admin_route: TRUE
entity.graphql_server.create_form:
path: '/admin/config/graphql/servers/create'
defaults:
_entity_form: 'graphql_server.create'
_title: 'Create'
requirements:
_permission: 'administer graphql configuration'
options:
_admin_route: TRUE
entity.graphql_server.edit_form:
path: '/admin/config/graphql/servers/manage/{graphql_server}'
defaults:
_entity_form: 'graphql_server.edit'
_title: 'Edit'
requirements:
_permission: 'administer graphql configuration'
options:
_admin_route: TRUE
entity.graphql_server.persisted_queries_form:
path: '/admin/config/graphql/servers/manage/{graphql_server}/persisted_queries'
defaults:
_entity_form: 'graphql_server.persisted_queries'
_title: 'Persisted queries'
requirements:
_permission: 'administer graphql configuration'
options:
_admin_route: TRUE
graphql.explorer:
path: '/admin/config/graphql/servers/manage/{graphql_server}/explorer'
defaults:
_controller: '\Drupal\graphql\Controller\ExplorerController::viewExplorer'
_title: 'Explorer'
requirements:
_graphql_explorer_access: graphql_server:{graphql_server}
options:
_admin_route: TRUE
parameters:
graphql_server:
with_config_overrides: TRUE
graphql.voyager:
path: '/admin/config/graphql/servers/manage/{graphql_server}/voyager'
defaults:
_controller: '\Drupal\graphql\Controller\VoyagerController::viewVoyager'
_title: 'Voyager'
requirements:
_graphql_voyager_access: graphql_server:{graphql_server}
options:
_admin_route: TRUE
parameters:
graphql_server:
with_config_overrides: TRUE
graphql.validate:
path: '/admin/config/graphql/servers/manage/{graphql_server}/validate'
defaults:
_controller: '\Drupal\graphql\Controller\ValidationController::report'
_title: 'Validate GraphQL Server'
requirements:
_permission: 'administer graphql configuration'
options:
_admin_route: TRUE
parameters:
graphql_server:
with_config_overrides: TRUE
entity.graphql_server.delete_form:
path: '/admin/config/graphql/servers/manage/{graphql_server}/delete'
defaults:
_entity_form: 'graphql_server.delete'
_title: 'Delete'
requirements:
_permission: 'administer graphql configuration'
options:
_admin_route: TRUE
route_callbacks:
- graphql.route_provider::routes