content_moderation_notifications.routing.yml in Content Moderation Notifications 8
File
content_moderation_notifications.routing.yml
View source
- # This is the router item for listing all entities.
- entity.content_moderation_notification.list:
- path: '/admin/config/workflow/moderation/notifications'
- defaults:
- _entity_list: 'content_moderation_notification'
- _title: 'Content Moderation Notifications'
- requirements:
- _permission: 'administer content moderation notifications'
-
- # This is the router item for adding our entity.
- entity.content_moderation_notification.add_form:
- path: '/admin/config/workflow/moderation/notifications/add'
- defaults:
- _title: 'Add notification'
- _entity_form: content_moderation_notification.add
- requirements:
- _entity_create_access: content_moderation_notification
-
- # This is the router item for editing our entity.
- entity.content_moderation_notification.edit_form:
- path: '/admin/config/workflow/moderation/notifications/manage/{content_moderation_notification}'
- defaults:
- _title: 'Edit notification'
- _entity_form: content_moderation_notification.edit
- requirements:
- _entity_access: content_moderation_notification.update
-
- # This is the router item for deleting an instance of our entity.
- entity.content_moderation_notification.delete_form:
- path: '/admin/config/workflow/moderation/notifications/manage/{content_moderation_notification}/delete'
- defaults:
- _title: 'Delete notification'
- _entity_form: content_moderation_notification.delete
- requirements:
- _entity_access: content_moderation_notification.delete