Config Ignore
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Introduction
Ever experienced that your site's configuration was overridden by the configuration on the filesystem, when doing a drush cim?
Not anymore!
This module is a tool to let you keep the configuration you want, in place.
Lets say that you do would like the system.site configuration (which contains that sites name, slogan, email, etc) to remain untouched, on your live site, no matter what the configuration, in the config folder, says.
Or maybe you are getting tired of having the devel.settings changed every time you import configuration?
Then this module is what you are looking for.
Requirements
This module requires Config Filter.config_filter requires Drush > 8.1.10.
Installation
Consult https://www.drupal.org/docs/8/extending-drupal-8/installing-contributed-...
to see how to install and manage modules in Drupal 8.
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 upon import. E.g. system.site to ignore site name, slogan and email site email address. Press the "Save configuration" button and you are good to go.
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.
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.
Upgrade from version 1.x to 2.x
Config Ignore is known not to work on Drush versions later than 8.1.9 so it is strongly advised to upgrade to Config Ignore 2.
You do not need to perform any additional tasks in order to upgrade from version 1.x to 2.x, beside of updating the code.
For Drush to work properly with Config Ignore you will need version 8.1.10 or above.
Maintainers
Current maintainers:
- Tommy Lynge Jørgensen (TLyngeJ) - https://www.drupal.org/u/tlyngej
- Fabian Bircher (bircher) - https://www.drupal.org/u/bircher
