You are here

geocoder.routing.yml in Geocoder 8.3

Same filename and directory in other branches
  1. 8 geocoder.routing.yml
  2. 8.2 geocoder.routing.yml

File

geocoder.routing.yml
View source
  1. geocoder.settings:
  2. path: '/admin/config/system/geocoder'
  3. defaults:
  4. _form: '\Drupal\geocoder\Form\SettingsForm'
  5. _title: 'Geocoder configuration'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. geocoder.api.geocode:
  9. path: '/geocoder/api/geocode'
  10. defaults:
  11. _controller: '\Drupal\geocoder\Controller\GeocoderApiEnpoints::geocode'
  12. _title: 'Geocode'
  13. methods: [GET]
  14. requirements:
  15. _permission: 'access geocoder api endpoints'
  16. options:
  17. no_cache: 'TRUE'
  18. geocoder.api.reverse_geocode:
  19. path: '/geocoder/api/reverse_geocode'
  20. defaults:
  21. _controller: '\Drupal\geocoder\Controller\GeocoderApiEnpoints::reverseGeocode'
  22. _title: 'Reverse Geocode'
  23. methods: [GET]
  24. requirements:
  25. _permission: 'access geocoder api endpoints'
  26. options:
  27. no_cache: 'TRUE'
  28. entity.geocoder_provider.collection:
  29. path: '/admin/config/system/geocoder/geocoder-provider'
  30. defaults:
  31. _entity_list: 'geocoder_provider'
  32. _title: 'Geocoder providers'
  33. requirements:
  34. _permission: 'administer site configuration'
  35. entity.geocoder_provider.add_form:
  36. path: '/admin/config/system/geocoder/geocoder-provider/add/{geocoder_provider_id}'
  37. defaults:
  38. _entity_form: 'geocoder_provider.add'
  39. _title: 'Add a Geocoder provider'
  40. requirements:
  41. _permission: 'administer site configuration'
  42. entity.geocoder_provider.edit_form:
  43. path: '/admin/config/system/geocoder/geocoder-provider/manage/{geocoder_provider}'
  44. defaults:
  45. _entity_form: 'geocoder_provider.edit'
  46. _title: 'Edit a Geocoder provider'
  47. requirements:
  48. _permission: 'administer site configuration'
  49. entity.geocoder_provider.delete_form:
  50. path: '/admin/config/system/geocoder/geocoder-provider/manage/{geocoder_provider}/delete'
  51. defaults:
  52. _entity_form: 'geocoder_provider.delete'
  53. _title: 'Delete a Geocoder provider'
  54. requirements:
  55. _permission: 'administer site configuration'