I'v got a question regarding dependencies & configuration. I created a module providing a content type, field type, widget & formatter.
While wanting to uninstall the module, I get the following message:
The following reason prevents
modulefrom being uninstalled:
- Fields type(s) in use
So I go to structure, try to delete the content type & get the following:
module's content typeis used by
xpieces of content on your site. You may not remove
module's content typeuntil you have removed all of the
module's content typecontent.
I go delete all my nodes first as it seems this needs to be done first. I retry uninstalling the module & get message:
Fields pending deletion
I run cron & am now able to uninstall my module with message:
The following modules will be completely uninstalled from your site, and all data from these modules will be lost!
I can see that dependencies are met well, but this gives it a long run before one can uninstall a module. Is there a way I can keep dependency integrity while once I am willing to uninstall the module to automatically remove configuration & content from start till end dependency?