You are here

geolocation_demo.routing.yml in Geolocation Field 8.2

modules/geolocation_demo/geolocation_demo.routing.yml

File

modules/geolocation_demo/geolocation_demo.routing.yml
View source
  1. geolocation_demo.widget_forms:
  2. path: '/geolocation-demo/widgets'
  3. defaults:
  4. _form: '\Drupal\geolocation_demo\Form\DemoWidgets'
  5. _title: 'Widgets offered by geolocation'
  6. requirements:
  7. _permission: 'access content'
  8. geolocation_demo.formatters:
  9. path: '/geolocation-demo/formatters'
  10. defaults:
  11. _controller: '\Drupal\geolocation_demo\Controller\DemoFormattersController::formatters'
  12. _title: 'Formatters offered by geolocation'
  13. requirements:
  14. _permission: 'access content'
  15. geolocation_demo.render_elements:
  16. path: '/geolocation-demo/elements/render'
  17. defaults:
  18. _controller: '\Drupal\geolocation_demo\Controller\DemoRenderElementController::renderElementDemo'
  19. _title: 'RenderElements offered by geolocation'
  20. requirements:
  21. _permission: 'access content'
  22. geolocation_demo.html5_widget:
  23. path: '/geolocation-demo/widgets/html5'
  24. defaults:
  25. _form: '\Drupal\geolocation_demo\Form\Html5Widget'
  26. _title: 'HTML5 Widget'
  27. requirements:
  28. _permission: 'access content'
  29. geolocation_demo.latlng_widget:
  30. path: '/geolocation-demo/widgets/latlng'
  31. defaults:
  32. _form: '\Drupal\geolocation_demo\Form\LatlngWidget'
  33. _title: 'Latlng Widget'
  34. requirements:
  35. _permission: 'access content'