2017 © Pedro Peláez
 

library config-sync-merge

Merge multiple Drupal config directories into a single sync storage

image

alexpott/config-sync-merge

Merge multiple Drupal config directories into a single sync storage

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 3 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Config sync merge

About

This library allows you to merge configuration from other directories with your Drupal site's configuration sync directory. The additional directories are treated as read-only. If configuration exists in multiple locations, your configuration sync directory is read first and then the other directories in the order that they are defined in settings.php., (*1)

If you export configuration using drush config-export it will only make changes to your configuration sync directory. The other directories will not be changed. If configuration being saved is an exact match for configuration in an other directory it will not be written to your config sync directory. If the configuration is different, it will be written., (*2)

IMPORTANT: Configuration in the deepest directory should represent a complete site. This will make it easier to manage configuration removals., (*3)

Installation

Get the code:, (*4)

composer require alexpott/config-sync-merge

Add the following lines to your settings.php:, (*5)

$settings['container_yamls'][] = $app_root . '/vendor/alexpott/config-sync-merge/drupal.services.yml';
$settings['config_sync_merge_directories'] = [
  'PATH/TO/ADDITIONAL/CONFIG'
];

NB: If you have changed the vendor location you will need to alter the first line., (*6)

Suggested workflows

@todo, (*7)

The Versions

17/05 2017

dev-master

9999999-dev

Merge multiple Drupal config directories into a single sync storage

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Alex Pott