You are here

geolocation_demo.routing.yml in Geolocation Field 8

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. _controller: '\Drupal\geolocation_demo\Controller\DemoWidgetFormsController::widgets'
  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.form_elements:
  23. path: '/geolocation-demo/elements/form'
  24. defaults:
  25. _form: '\Drupal\geolocation_demo\Form\DemoFormElement'
  26. _title: 'FormElements offered by geolocation'
  27. requirements:
  28. _permission: 'access content'