Issue #2233337 by znerol: Impossible to specify per-bin cache backend service from within settings.php.

8.0.x
Nathaniel Catchpole 2014-04-15 10:01:13 +01:00
parent 95e6d3a549
commit 8e29b0f833
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class CacheFactory extends ContainerAware implements CacheFactoryInterface {
public function get($bin) {
$cache_settings = $this->settings->get('cache');
if (isset($cache_settings['bins'][$bin])) {
$service_name = $cache_settings[$bin];
$service_name = $cache_settings['bins'][$bin];
}
elseif (isset($cache_settings['default'])) {
$service_name = $cache_settings['default'];