You are here

service cache_factory in Drupal 9

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

Class

Drupal\Core\Cache\CacheFactory
3 string references to cache_factory
KernelTestBase::register in core/tests/Drupal/KernelTests/KernelTestBase.php
Registers test-specific services.
MigrateSqlSourceTestBase::register in core/modules/migrate/tests/src/Kernel/MigrateSqlSourceTestBase.php
Registers test-specific services.
NormalInstallerServiceProvider::register in core/lib/Drupal/Core/Installer/NormalInstallerServiceProvider.php
Registers services to the container.

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']]