Problem/Motivation
When module is uninstalled it should clean-up configurations. Because after uninstall -> install is not possible because configuration already exists.

Proposed resolution
Add uninstall hook that will remove configurations provided with installation of module.

Comments

brooke_heaton created an issue. See original summary.

daiwik.addweb’s picture

StatusFileSize
new1.11 KB

@brooke_heaton, Please Check, Here I attached a patch for the same, Let me know if any further changes are required.

Thanks!

karens’s picture

Status: Active » Needs review
StatusFileSize
new9.34 KB

That's actually not the approved way to do this, it should be done by altering the configuration. This won't remove it if it's already there without the enforced dependency, but it's not safe to remove it automatically because it could be in use on production sites. So I'm just displaying a message.

  • KarenS committed bce5fcc on 8.x-1.x
    Issue #3043642 by RoshniPatel.addweb, KarenS, brooke_heaton: Remove...
karens’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.