The documentation says to add the following line in the settings.local.php file.

$config['config_tools.settings']['disabled'] = 1;

That line won't work, as the module configuration is kept in config_tools.config, not config_tools.settings. The correct line to add is the following one.

$config['config_tools.config']['disabled'] = 1;

The README.md file needs to be corrected.

Comments

sittard created an issue. See original summary.

sittard’s picture

Issue summary: View changes
chandeepkhosa’s picture

Status: Active » Needs review
StatusFileSize
new477 bytes

@sittard Thanks for this. I've made a patch to fix this

dasginganinja’s picture

Status: Needs review » Reviewed & tested by the community
avpaderno’s picture

Title: Disabling config_tools - Please Update Readme File » The code shown to disable the module from the local.settings.php file is wrong
Issue summary: View changes

  • apaderno committed f8ff43c on 8.x-1.x authored by ChandeepKhosa
    Issue #2955264 by ChandeepKhosa, sittard, dasginganinja, kiamlaluno: The...
avpaderno’s picture

Status: Reviewed & tested by the community » Fixed

Thank you for the patch! I applied it and committed the changes.

Status: Fixed » Closed (fixed)

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