Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
If you go to content type configuration page and disable "Allow these settings to be overridden for individual entities" option, Rabbit hole options will still appear on the node edit form for that content type.
Proposed resolution
See attached patch for a proposed fix.
Comments
Comment #2
temkin CreditAttribution: temkin as a volunteer commentedHere is a patch to address that
Comment #3
adamzimmermann CreditAttribution: adamzimmermann at Chromatic for Meredith Corporation commentedI'm not sure how moving this factors into this patch since it doesn't use this variable. However, if we are going to move it, why not just do this and remove the variable completely since it is only used once.
Additionally, I tried out the patch and it seems to work great, so that's the important thing.
Comment #4
Dylan Donkersgoed CreditAttribution: Dylan Donkersgoed as a volunteer commentedI've attached a rerolled version of the patch with adamzimmerman's suggested change included and also another patch that builds on it which:
I'm leaving it here for review for now but I'll commit it in a few days if there are no objections.
Comment #6
Dylan Donkersgoed CreditAttribution: Dylan Donkersgoed as a volunteer commented