- Issue created by @mrdrewkeller
As of Drupal Core 10.2.x Media provides a UI for viewing, reverting, and deleting revisions β . On delete of a revision the rabbit hole form is appearing. This should probably be handled the same way it is handled on Node deletion where this is not shown.
I was also seeing this cause an issue where if rh_media was enabled, it prevented the deletion of any media revisions in this new UI in core.
- Enable rh_media
- Have a media type defined (ex. image)
- Create a new media entity
- Edit that entity and ensure a new revision is created
- Edit the entity again and go to the revisions tab
- Click the delete button on the non-active revision
- On the delete confirmation screen the Rabbit Hole interface is displayed
- Clicking to confirm the deletion reloads the page and the delete is not processed
Add `revision-delete` to the `$disallowed_operations` array in `rabbit_hole.module`
Active
2.0
Code