- Issue created by @mrdrewkeller
- Issue was unassigned.
- Status changed to Needs review
6 months ago 7:08pm 15 January 2025 - πΈπͺSweden auth
Rabbit hole is also active on the revision-revert operation. Attached patch handles that as well.
- π¦πΊAustralia dabbor
You can add to the patch other Disallowed Operations like:
scheduled_transitions_entity_form
scheduled_transitions_add_form
book_outline
- ... And more ...
I'm thinking the whole disallow pattern might be wrong. And if you follow the examples bellow it seems that a different $current_operation condition should be used, chaning it
- From:!in_array($current_operation, $disallowed_operations)
- To:$current_operation === 'edit'
Using Rabbit Hole on content types (media types), content instances (media instances) seems to have the "edit" operation in common:
- $form_id isnode_type_edit_form
thus $current_type isnode_type
and $current_operation isedit
- $form_idnode_page_edit_form
thus $current_type isnode
and $current_operation isedit
.My questions:
1.) Are there any other forms where we need the Rabbit Hole active?
2.) Or rather to ask are there any other operations than edit where we need it?