This is a very useful tutorial for config_split
https://www.advomatic.com/blog/using-configuration-split-to-have-dev-only-configuration-in-drupal-8
If you want to learn more about the core D8 configuration management these docs will help:
https://www.drupal.org/docs/8/configuration-management/managing-your-sites-configuration
Add the steps involved:
Move existing configuration to "config/sync"
Edit "$settings['config_sync_directory']" so that is points to "../config/sync"
$settings['config_sync_directory'] = dirname(DRUPAL_ROOT) . '/config/sync'; |
Create config/dev
directory
Create DEV split configuration from UI (use the above tutorials for details)
Run drush csex dev
and drush csex
You're done.
From now on it's enough to use drush cex/cim
(without the "s").
Git
Workflow Steps to Safely Manage Config FilesA series of screenshots from a must-watch DrupalCon Vienna preso called Advanced Configuration Management with Config Split et al.
|
|
|
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
Who | When | Status |
---|---|---|
Bob | 20230530 | Updated some details - current |