Closed (works as designed)
Project:
Metatag
Version:
2.2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2020 at 21:34 UTC
Updated:
7 Aug 2026 at 10:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
godotislateComment #3
godotislateNeed to account for the default value widget.
Comment #4
neelam.chaudhary commentedPatch #3 worked for me.
Comment #5
damienmckennaLet's see what the testbot says.
Comment #9
godotislateComment #10
batkorPatch #3 worked for me.
Drupal version : 10.1.6
drupal/metatag: 1.26.0
Comment #11
marc.groth commentedNot only does this work well, but it even works for the 2.1 branch without a need for re-patching. Great work @godotislate
Comment #12
sokru commentedWe've had the patch #3 (same as MR) many years on production. So +1 for RTBC.
The MR base branch should be updated to 2.1.x but it requires the author's or module maintainers action.
Comment #13
damienmckennaAn alternative solution to this was committed in #3272202: Add <none> placeholder to clear / unset inherited value, whereby you can distinguish between the two requests of "I want to revert to the default for this one meta tag" and "I don't want this meta tag to be output".
Comment #14
godotislate#3272202: Add <none> placeholder to clear / unset inherited value seems like a better solution. Should this issue be closed?
Comment #15
pfrenssenI agree as well, this is already covered by #3272202: Add <none> placeholder to clear / unset inherited value. Closing this. Feel free to reopen if you feel this adds a benefit over the other approach.