X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrush%2Fdrush%2Fdocs%2Fconfig-exporting.md;h=a31428c85d6be3966916c2067b7e92b94a2b0fde;hp=1ed16a913a60448563dd31cd2fa95e959f9f0c0a;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;ds=sidebyside diff --git a/vendor/drush/drush/docs/config-exporting.md b/vendor/drush/drush/docs/config-exporting.md index 1ed16a913..a31428c85 100644 --- a/vendor/drush/drush/docs/config-exporting.md +++ b/vendor/drush/drush/docs/config-exporting.md @@ -29,33 +29,9 @@ a Drush feature. It should be the preferred method for changing configuration values on a per-environment basis; however, it does not work for some things, such as enabling and disabling modules. For configuration changes not handled by the configuration override system, -you can use Drush configuration filters. +you can use configuration filters of the Config Filter module. ## Ignoring Development Modules -If you have a certain list of modules that should only be enabled on -the development or staging server, then this may be done with the -built-in `--skip-modules` option in the config-export and config-import -commands. - -For example, if you want to enable the 'devel' module on development -systems, but not on production server, you could define the following -configuration settings in your drushrc.php file: -``` -# $command_specific['config-export']['skip-modules'] = array('devel'); -# $command_specific['config-import']['skip-modules'] = array('devel'); -``` -You may then use `drush pm-enable` to enable the devel module on the -development machine, and subsequent imports of the configuration data -will not cause it to be disabled again. Similarly, if you make changes -to configuration on the development environment and export them, then -the devel module will not be listed in the exports. - -## More Complex Adjustments - -Drush allows more complex changes to the configuration data to be made -via the configuration filter mechanism. In order to do this, you must -write some code inside a Drush extension. - -See [Drupal Configuration Filtering](config-filter.md) for more information -on how to do this. +Use the [Config Split](https://www.drupal.org/project/config_split) module to +split off development configuration in a dedicated config directory. \ No newline at end of file