You are here

service cache_factory in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \cache_factory
  2. 9 core/core.services.yml \cache_factory

Class

Drupal\Core\Cache\CacheFactory
10 string references to cache_factory
CacheCollectorTest::register in core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php
Registers test-specific services.
CachedStorageTest::setUp in core/tests/Drupal/KernelTests/Core/Config/Storage/CachedStorageTest.php
DatabaseBackendTagTest::register in core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTagTest.php
Registers test-specific services.
DbDumpTest::register in core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
Register a database cache backend rather than memory-based.
EndOfTransactionQueriesTest::register in core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php
Registers test-specific services.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Cache\CacheFactory
  2. arguments:
  3. - '@settings'
  4. - '%cache_default_bin_backends%'
  5. calls:
  6. - [setContainer, ['@service_container']]