Problem/Motivation

I just found out, that on a customer page someone (crazy) put too long and wrong texts into the title field. There are many many nodes and it will be a hard job to remove all of them manually.

So I thought I had seen a "reset" functionality in the past, maybe Drupal 7, but perhaps I'm mixing this up with pathauto.

Is there any "reset metatag" funcationality? If not, would it make sense to add a feature request for such a tool? Perhaps as metatags_reset submodule?

I also had a look into the database to see, if I can bulk delete the field there, but as all metatags are serialized, that seems to be really hard and makes such a tool even more helpful.

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

Comments

Anybody created an issue. See original summary.

anybody’s picture

Issue summary: View changes
damienmckenna’s picture

Category: Support request » Feature request

So a bulk edit system for a field? That would be a useful tool to add, and could be part of the main module.

It should search for the Metatag fields defined in the system, provide a list of all meta tags, then let you search the meta tags defined in those fields...

Almost like Search & Replace Scanner.. So maybe another approach would be to add Metatag support for the Scanner module?

anybody’s picture

Thanks @DamienMcKenna!

Yes, ALSO helpful! What I was thinking about was a tree-like selection of the fields (by entity type > bundle) to reset to their defaults (or alternatively clear?)

That's for the case, where you simply want to use default for these again. VBO would be another alternative, but like https://www.drupal.org/project/views_bulk_edit for metatags. Or would that already work for the Metatag field? Didn't try it yet...

damienmckenna’s picture

Issue summary: View changes

The Views Bulk Edit option might be a good approach..

anybody’s picture

Title: How to reset certain metatag fields for a content type / bundle » Add a reset option to reset overridden meta tags on entities to defaults
Version: 2.0.x-dev » 2.2.x-dev