Commit c2ffb7b6 authored by webchick's avatar webchick

Issue #2263255 by alexpott: Cache.config only has a single key in it for...

Issue #2263255 by alexpott: Cache.config only has a single key in it for config schema this seems a waste.
parent b452ac58
......@@ -38,13 +38,6 @@ services:
factory_method: get
factory_service: cache_factory
arguments: [bootstrap]
cache.config:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory_method: get
factory_service: cache_factory
arguments: [config]
cache.default:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
......@@ -115,7 +108,7 @@ services:
class: Drupal\Core\Config\InstallStorage
config.typed:
class: Drupal\Core\Config\TypedConfigManager
arguments: ['@config.storage', '@config.storage.schema', '@cache.config']
arguments: ['@config.storage', '@config.storage.schema', '@cache.discovery']
cron:
class: Drupal\Core\Cron
arguments: ['@module_handler', '@lock', '@queue', '@state', '@current_user', '@session_manager']
......
......@@ -43,7 +43,7 @@ public function testDefaultConfig() {
$typed_config = new TypedConfigManager(
\Drupal::service('config.storage'),
new TestInstallStorage(InstallStorage::CONFIG_SCHEMA_DIRECTORY),
\Drupal::service('cache.config')
\Drupal::service('cache.discovery')
);
// Create a configuration storage with access to default configuration in
......
services:
locale.config.typed:
class: Drupal\locale\LocaleConfigManager
arguments: ['@config.storage', '@config.storage.schema', '@config.storage.installer', '@locale.storage', '@cache.config', '@config.factory', '@language_manager']
arguments: ['@config.storage', '@config.storage.schema', '@config.storage.installer', '@locale.storage', '@cache.discovery', '@config.factory', '@language_manager']
locale.storage:
class: Drupal\locale\StringDatabaseStorage
arguments: ['@database']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment