Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Config Ignore

Security covered Under active development 109,953 sites

This module prevents certain configuration items from being overridden during configuration imports. It allows you to select specific configuration items to ignore, ensuring they are not changed by imported configurations.

Introduction

Ever experienced that your site's configuration was overridden, by the configuration on the file system, when running a drush cim?

Not anymore!

This module is a tool to let you keep the configuration you want, in place.

This module effectively lets you treat configuration as if it was content. It does so by changing the configuration that is about to be imported to the one that exists already on the site and therefore there is no difference that the configuration import would need to update.

Requirements

This module requires only Drupal core.

Installation

There is nothing special about the installation of this module. Check the documentation for installing modules

Configuration

If you go to admin/config/development/configuration/ignore you will see a fairly simple interface.

Add the name of the configuration that you want to ignore. E.g. system.site to ignore site name, slogan and email site email address. Click the "Save configuration" button and you are good to go.

Do not ignore the core.extension configuration as it will prevent you from enabling new modules with a config import. Use the Config Split module for environment specific modules.

By selecting intermediate or advanced you get two or six text areas to fill respectively. This allows you to fine tune the configuration to ignore in different circumstances.

If you need to bypass Config Ignore you can update/create a single configuration by using the "Single import" feature at admin/config/development/configuration/single/import.

if you need to deactivate Config Ignore, include $settings['config_ignore_deactivate'] = TRUE; in your settings.php file.

Upgrade from version 2.x to 3.x

Be sure to run the update hooks so that the new mode configuration is set.
Config Ignore 2.x only ignored config on import (unless patched) whereas Config Ignore 3. ignores on import and on export in the simple mode. You can configure different configuration to ignore on import and export with the intermediate mode.
Attention: 2.x depended on Config Filter, but 3.x uses the core API. If you have not explicitly required Config Filter before Composer will remove it when updating. But then you are left with a drupal module still being installed but no longer available in the code base.
In order to properly uninstall Config Filter you should explicitly require it and then uninstall it, and remove it from composer.json only in a later deployment.

Maintainers

Current maintainers:

Drupal 8–11

Ask your assistant about Config Ignore

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Activity

Tracked releases
8
Tracked since
Feb 2023
Latest release
6 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
8.x-3.4 Stable 8–11 Apr 25, 2026
8.x-3.3 Stable 8–11 Apr 16, 2024
8.x-3.2 Stable 8–10 Jan 14, 2024
8.x-3.1 Stable 8–10 Nov 6, 2023
8.x-3.0 Stable 8–10 Oct 30, 2023
8.x-3.0-rc1 Pre-release 8–10 Oct 19, 2023
8.x-3.0-beta2 Pre-release 8–10 Feb 10, 2023
8.x-2.4 Stable 8–10 Feb 10, 2023