in
DRUPALROOT/sites/default/files/configR@ND0M#H@$H#SALT
$settings['config_sync_directory'] = '../config/sync';
drush cim
drush cex
drush cli
drush cget config.key
drush cset config.key config_value
For Drush 9.x
drush cst
drush config:status
$config['config.prefix']['keyvalue'] = NEW_VALUETo exclude some module's config from config sync
$settings['config_exclude_modules'] = ['module1', 'module2'];Config is dependent on Content
Content is dependent on Config
Pull and import
You may use content_sync module or hook_update/install to create content
Chicken egg problem
Lets you partition the config changes as per the development environment
drupal/config_filter, drupal/config_split
path/to/our/site_repo
+-- config
| +-- development # New directory for the split
| +-- sync
+-- docroot
+-- core
+-- index.phpAdd configuration for config split
drupal/config_filter, drupal/config_split
Complete split
Conditional split
the_split_name is machine name of the split we created earlier.
$config['config_split.config_split.the_split_name']['status'] = TRUE;complete moves the config in
new split folder
Contextual split the new split folder for finer tuning
drush config-split-export the_split_name
drush config-split-import the_split_name