This project is not covered by Drupal’s security advisory policy.

Config Exclude allows you to exclude modules and their configuration from being exported. It is an easy way for developers to enable development modules without the risk of accidentally exporting the enabled-state or their dependent config.

See #2926505: drush cex --skip-modules was removed in favor of config_split, but config_split is not feature-equivalent to understand why this module was created.


Enable the module and activate the filter by declaring $settings['config_exclude_modules'] in your settings.php file, eg:

$settings['config_exclude_modules'] = ['devel', 'stage_file_proxy'];

Now, when you export configuration (`drush config-export`), the selected modules should no longer show up in core.extension.yml and their configuration should not be exported.

Supporting organizations: 

Project information