I don't think there's any reason that the Rabbit Hole fields should show up when editing Layout Builder overrides.

Perhaps the form operations RH fields are excluded from should be configurable, but for now, I think adding `layout_builder to the excluded form operations will do.

CommentFileSizeAuthor
#2 3066541-2.patch839 bytesgodotislate

Comments

godotislate created an issue. See original summary.

godotislate’s picture

StatusFileSize
new839 bytes

Patch to add `layout_builder` to the disallowed operations so that the RH fields aren't added on the LB overrides form.

justcaldwell’s picture

Status: Active » Reviewed & tested by the community

Thanks for this! Works as advertised -- Rabbit Hole fields are removed from Layout Builder override UI and continue to work everywhere else. Plus, the change is about as small and clean as they come.

dylan donkersgoed’s picture

At some point this should probably be switched to just use explicitly whitelisted operations instead of having to keep blacklisting different ones. But this patch does the job, merging it in.

dylan donkersgoed’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.