Commit c2ffb7b6 authored by Angie Byron's avatar Angie Byron
Browse files

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
Loading
Loading
Loading
Loading
+1 −8
Changes for core/core.services.yml: 1 added line, 8 removed lines.
Original line number Diff line number Diff line
@@ -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']
+1 −1
Changes for core/modules/config/lib/Drupal/config/Tests/DefaultConfigTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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
+1 −1
Changes for core/modules/locale/locale.services.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
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']