Process for removing a custom customer profile type
I am writing a contrib module customer profile types ui that provides an admin interface for adding new customer profile types dynamically through a UI. I've got the adding part and UI down for that, but I was wondering what happens when the module is later disabled or uninstalled. What processes do you recommened for handling the deletion of customer profile types to make sure data is cleared up and not orphaned on uninstall?
thanks in advance, ;)