Update module page for 3.x

Created on 5 September 2022, about 2 years ago
Updated 8 November 2023, about 1 year ago

Problem/Motivation

The module page could be updated to contain instructions and information therein could be updated to reflect how 3.x works.

Proposed resolution

Edit the issue summary by editing this issue text.

<!-- Edit the issue summary below this line to contribute. -->

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.

<!--break-->

Let's say that you do would like the system.site configuration (which contains the site name, slogan, email, etc.) to remain untouched, on your live site, no matter what the configuration in the config folder is.

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 , which 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. 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.

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 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, besides updating the code.

For Drush to work properly with Config Ignore you will need version 8.1.10 or above.

Maintainers

Current maintainers:

📌 Task
Status

Fixed

Version

3.0

Component

Documentation

Created by

🇨🇭Switzerland bircher 🇨🇿

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024