Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Expand the Bulk Revert page to select which specific meta tags to remove rather than removing all meta tags.
Comment | File | Size | Author |
---|---|---|---|
#6 | metatag-n1944862-6.patch | 8.03 KB | DamienMcKenna |
| |||
#5 | 1944862-05-metatag-bulk-revert-by-tag.patch | 5.35 KB | FeyP |
|
Comments
Comment #1
cposer CreditAttribution: cposer commentedBump.
Comment #2
DamienMcKennaUnless someone submits a patch, this will not make it into 1.0.
Comment #3
FeyP CreditAttribution: FeyP at werk21 commentedAttached is a patch against 7.x-1.x.
I'm not sure, if LANGUAGE_NONE needs to be added to the list of languages as it isn't returned by language_list(). In my dev environment, all tags were associated with a specific language.
Comment #4
DamienMcKennaThis is great, thanks! One minor thing - I don't think the language selection and tag selection should be tied together, I think it should be possible to revert a specific meta tag for all languages, or all meta tags for a specific language.
Comment #5
FeyP CreditAttribution: FeyP at werk21 commentedYes, you're right. I wonder, why I didn't implement it in the first place ;). Attached is an updated version of the patch.
I also checked a few production systems and there were metatags associated with LANGUAGE_NONE, so I added that to the language options.
Comment #6
DamienMcKennaThis adds some tests to confirm the form fields load as intended.
Comment #8
DamienMcKennaCommitted. Thanks!