service cache_factory in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \cache_factory
- 9 core/core.services.yml \cache_factory
Class
Drupal\Core\Cache\CacheFactory10 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.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Cache\CacheFactory
- arguments:
- - '@settings'
- - '%cache_default_bin_backends%'
- calls:
- - [setContainer, ['@service_container']]