You are here

image_browser.routing.yml in Image Entity Browser 8

File

image_browser.routing.yml
View source
  1. image_browser.upload:
  2. path: '/image_browser/upload'
  3. defaults:
  4. _form: '\Drupal\image_browser\Form\UploadForm'
  5. requirements:
  6. _permission: 'add image entity'
  7. image_browser.library:
  8. path: '/image_browser/library'
  9. defaults:
  10. _form: '\Drupal\image_browser\Form\LibraryForm'
  11. requirements:
  12. _permission: 'browser public image entities'
  13. image_browser.browser:
  14. path: '/image_browser/browser'
  15. defaults:
  16. _controller: '\Drupal\image_browser\Controller\ImageBrowserController::page'
  17. requirements:
  18. _permission: 'add image entity+browser public image entities'
  19. image_browser.update:
  20. path: '/image_browser/update'
  21. defaults:
  22. _controller: '\Drupal\image_browser\Controller\ImageBrowserController::update'
  23. requirements:
  24. _permission: 'access content'