I have the following use case:
- I have a custom module, which defines a custom entity type.
- The custom entity type has some content in the database.
- Module needs to be uninstalled now, but it can't, since "There is content for the entity type" (which is true, there is content)
- How to extend the uninstall process of the module to first remove all the content instances and then do the rest?
hook_uninstall, but that didn't help. Any ideas?
Content can't be uninstalled by hand! (bigger project issue)