You are here

image_hotspots.routing.yml in Image Hotspots 8

File

image_hotspots.routing.yml
View source
  1. image_hotspots.delete_hotspot:
  2. path: '/image-hotspots/{hid}/delete'
  3. defaults:
  4. _title: 'Edit hotspot'
  5. _controller: '\Drupal\image_hotspots\Controller\ImageHotspotsController::deleteAction'
  6. requirements:
  7. _permission: 'edit image hotspots'
  8. image_hotspots.create_hotspot:
  9. path: '/image-hotspots/create'
  10. defaults:
  11. _title: 'Create hotspot'
  12. _controller: '\Drupal\image_hotspots\Controller\ImageHotspotsController::createAction'
  13. requirements:
  14. _permission: 'edit image hotspots'
  15. image_hotspots.update_hotspot:
  16. path: '/image-hotspots/{hid}/update'
  17. defaults:
  18. _title: 'Update hotspot'
  19. _controller: '\Drupal\image_hotspots\Controller\ImageHotspotsController::updateAction'
  20. requirements:
  21. _permission: 'edit image hotspots'
  22. image_hotspots.translate_hotspot:
  23. path: '/image-hotspots/{hid}/{langcode}/translate'
  24. defaults:
  25. _title: 'Translate hotspot'
  26. _controller: '\Drupal\image_hotspots\Controller\ImageHotspotsController::translateAction'
  27. requirements:
  28. _permission: 'edit image hotspots'