graphql.routing.yml in GraphQL 8.4
File
graphql.routing.yml
View source
- 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:
- server:
- type: entity:graphql_server
-
- 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:
- type: entity:graphql_server
-
- 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:
- type: entity:graphql_server
-
-
- 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