You are here

graphql.routing.yml in GraphQL 8.3

Same filename and directory in other branches
  1. 8.4 graphql.routing.yml
  2. 8 graphql.routing.yml
  3. 8.2 graphql.routing.yml

File

graphql.routing.yml
View source
  1. graphql.config_page:
  2. path: '/admin/config/graphql'
  3. defaults:
  4. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  5. _title: 'GraphQL'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. graphql.query_maps:
  9. path: '/admin/config/graphql/query-maps'
  10. defaults:
  11. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  12. _title: 'Query maps'
  13. requirements:
  14. _permission: 'administer site configuration'
  15. graphql.schema_overview:
  16. path: '/admin/config/graphql/schemas'
  17. defaults:
  18. _controller: '\Drupal\graphql\Controller\SchemaOverviewController::listSchemas'
  19. _title: 'Schemas'
  20. requirements:
  21. _permission: 'administer site configuration'
  22. graphql.query_map_json_config:
  23. path: '/admin/config/graphql/query-maps/json'
  24. defaults:
  25. _form: 'Drupal\graphql\Form\JsonQueryMapConfigForm'
  26. _title: 'File system discovery'
  27. requirements:
  28. _permission: 'administer site configuration'
  29. options:
  30. _admin_route: TRUE
  31. entity.graphql_query_map.collection:
  32. path: '/admin/config/graphql/query-maps/config'
  33. defaults:
  34. _entity_list: 'graphql_query_map'
  35. _title: 'Imported query maps'
  36. requirements:
  37. _permission: 'administer graphql query maps'
  38. options:
  39. _admin_route: TRUE
  40. entity.graphql_query_map.import_form:
  41. path: '/admin/config/graphql/query-maps/config/import'
  42. defaults:
  43. _entity_form: 'graphql_query_map.import'
  44. _title: 'Import'
  45. requirements:
  46. _permission: 'administer graphql query maps'
  47. options:
  48. _admin_route: TRUE
  49. entity.graphql_query_map.delete_form:
  50. path: '/admin/config/graphql/query-maps/config/{graphql_query_map}/delete'
  51. defaults:
  52. _entity_form: 'graphql_query_map.delete'
  53. _title: 'Delete'
  54. requirements:
  55. _permission: 'administer graphql query maps'
  56. options:
  57. _admin_route: TRUE
  58. entity.graphql_query_map.inspect_form:
  59. path: '/admin/config/graphql/query-maps/config/{graphql_query_map}'
  60. defaults:
  61. _entity_form: 'graphql_query_map.inspect'
  62. _title: 'Inspect'
  63. requirements:
  64. _permission: 'administer graphql query maps'