You are here

content_moderation_notifications.routing.yml in Content Moderation Notifications 8.2

File

content_moderation_notifications.routing.yml
View source
  1. # This is the router item for listing all entities.
  2. entity.content_moderation_notification.list:
  3. path: '/admin/config/workflow/notifications'
  4. defaults:
  5. _entity_list: 'content_moderation_notification'
  6. _title: 'Content Moderation Notifications'
  7. requirements:
  8. _permission: 'administer content moderation notifications'
  9. # This is the router item for adding our entity.
  10. entity.content_moderation_notification.add_form:
  11. path: '/admin/config/workflow/notifications/add'
  12. defaults:
  13. _title: 'Add notification'
  14. _entity_form: content_moderation_notification.add
  15. requirements:
  16. _entity_create_access: content_moderation_notification
  17. # This is the router item for editing our entity.
  18. entity.content_moderation_notification.edit_form:
  19. path: '/admin/config/workflow/notifications/manage/{content_moderation_notification}'
  20. defaults:
  21. _title: 'Edit notification'
  22. _entity_form: content_moderation_notification.edit
  23. requirements:
  24. _entity_access: content_moderation_notification.update
  25. # This is the router item for deleting an instance of our entity.
  26. entity.content_moderation_notification.delete_form:
  27. path: '/admin/config/workflow/notifications/manage/{content_moderation_notification}/delete'
  28. defaults:
  29. _title: 'Delete notification'
  30. _entity_form: content_moderation_notification.delete
  31. requirements:
  32. _entity_access: content_moderation_notification.delete