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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

brooke_heaton created an issue. See original summary.

RoshniPatel.addweb’s picture

@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
FileSize
9.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.