Mark as dummy data module

Events happening in the community are now at Drupal community events on www.drupal.org.
svdhout's picture

I was tired of manually deleting dummy data so i created a module that allows me to mark content as dummy data.
This allows me to delete all dummy data within one batch call.

You can choose wether or not you want to mark all new content as dummy data.
e.g. at the start of a project, all data will be dummy data.
Later on all content for a content type gets imported, so from now on all new content is default not marked as dummy data.

A checkbox on the node add/edit form allows to override this default behaviour.

You can choose to remove all dummy data. This will call a batch to remove all nodes marked as dummy.

There is a views filter available, you can use this for deleting dummy data on a per content type base. (using vbo)

Would it make a usefull contrib?

Comments

Flag

chx's picture

Isnt this just a one-off version of flag module?

You're right, i think you

svdhout's picture

You're right, i think you could achieve the same result using flags.
Benefits for having a dedicated module for this purpose only, might be that the only configuration that needs to be done is enable/disable the module.

I was just about to write

lukaswhite's picture

I was just about to write exactly the same thing - so yes, I think it would be useful.

I take on board the point about Flags being a suitable mechanism for achieving this, but I'd agree in the benefit of being able to just enable / disable the module as required.

I'd very much like a copy of the code, if you still have it?

Contributed Module Ideas

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: