Skip to content

Instantly share code, notes, and snippets.

@alan-ps
Last active August 16, 2019 08:11
Show Gist options
  • Save alan-ps/a1579d2a04507a471fbd43f2282dc8e5 to your computer and use it in GitHub Desktop.
Save alan-ps/a1579d2a04507a471fbd43f2282dc8e5 to your computer and use it in GitHub Desktop.

Configuration split

Config Split allows user to define a set of configuration files that get exported to a different directory from the rest of the config files. When that split is active, config files in that directory override values in the default set.

Example 1: the views_ui module should be enabled on dev environment only and aggregation should be disabled there.
  1. drush cex;
  2. Create a new split (admin/config/development/configuration/config-split), i.e. dev and enable it;
  3. Add views_ui module to a blacklist and system.performance configuration to a greylist;
  4. Change aggregation configuration;
  5. drush cex.

Config ignore

Config readonly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment