Config Ignore

Module Drupal Illustration Voir sur Drupal.org
Nb téléchargements : 59631

Components

  • Code
  • Documentation
  • Miscellaneous
  • User interface

Licence

http://www.gnu.org/licenses/old-licenses/gpl-2.0.html

permet d'ignorer de la conf à mettre à jour.

Release

Status : Published
Projects : Modules
Maintenance status : Minimally maintained
Development status : Under active development
Supported Branches : 8.x-2., 8.x-3.
shield Stable releases for this project are covered by the security advisory policy.



Description

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.

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:



Toutes les informations proviennent du site drupal.org