Last active
August 29, 2015 13:59
Revisions
-
sun revised this gist
Apr 15, 2014 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ diff --git a/sites/default/settings.php b/sites/default/settings.php index b2ce930..9d0514e 100644 --- a/sites/default/settings.php +++ b/sites/default/settings.php @@ -611,7 +611,8 @@ * The 'bootstrap_config_storage' setting needs to be a callable that returns * core.services.yml. -
sun created this gist
Apr 15, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php index b2ce930..9d0514e 100644 --- a/sites/default/default.settings.php +++ b/sites/default/default.settings.php @@ -611,7 +611,8 @@ * The 'bootstrap_config_storage' setting needs to be a callable that returns * core.services.yml. */ - # $settings['bootstrap_config_storage'] = array('Drupal\Core\Config\BootstrapConfigStorageFactory', 'getFileStorage'); +$settings['bootstrap_config_storage'] = 'Drupal\Core\Config\BootstrapConfigStorageFactory::getFileStorage'; +$GLOBALS['conf']['container_yamls'][] = $conf_path . '/services.yml'; /** * Configuration overrides. diff --git a/sites/default/services.yml b/sites/default/services.yml new file mode 100644 index 0000000..3d2a0cd --- /dev/null +++ b/sites/default/services.yml @@ -0,0 +1,6 @@ +services: + config.storage: + class: Drupal\Core\Config\CachedStorage + arguments: ['@config.storage.active', '@cache.config'] + config.storage.active: + alias: config.storage.file