You are here

media_watermark.routing.yml in Media watermark 8

File

media_watermark.routing.yml
View source
  1. media_watermark.list:
  2. path: '/admin/config/media/media_watermark'
  3. defaults:
  4. _entity_list: 'media_watermark'
  5. _title: 'Media Watermark Configuration'
  6. requirements:
  7. _permission: 'media watermark control'
  8. media_watermark.add:
  9. path: '/admin/config/media/media_watermark/add'
  10. defaults:
  11. _entity_form: 'media_watermark.add'
  12. _title: 'Add Media Watermark'
  13. requirements:
  14. _permission: 'media watermark control'
  15. entity.media_watermark.edit_form:
  16. path: '/admin/config/media/media_watermark/{media_watermark}'
  17. defaults:
  18. _entity_form: 'media_watermark.edit'
  19. _title: 'Edit Media Watermark'
  20. requirements:
  21. _permission: 'media watermark control'
  22. entity.media_watermark.delete_form:
  23. path: '/admin/config/media/media_watermark/{media_watermark}/delete'
  24. defaults:
  25. _entity_form: 'media_watermark.delete'
  26. _title: 'Delete Media Watermark'
  27. requirements:
  28. _permission: 'media watermark control'
  29. # Batch Watermark adding interface.
  30. media_watermark.batch:
  31. path: '/admin/config/media/media_watermark/batch'
  32. defaults:
  33. #_controller: '\Drupal\media_watermark\Controller\MediaWatermarkController::adminBatch'
  34. _form: '\Drupal\media_watermark\Form\BatchWatermarkForm'
  35. _title: 'Media Watermark Batch'
  36. requirements:
  37. _permission: 'media watermark apply watermarks'