2

The key for $config is the config name, not the module. This should work: $config['shield.settings']['shield_enable'] = FALSE;


Only top voted, non community-wiki answers of a minimum length are eligible