You are here

service cache_factory in Drupal 8

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

Class

Drupal\Core\Cache\CacheFactory
3 string references to cache_factory
InstallerServiceProvider::register in core/lib/Drupal/Core/Installer/InstallerServiceProvider.php
Registers services to the container.
KernelTestBase::containerBuild in core/modules/simpletest/src/KernelTestBase.php
Sets up the base service container for this test.
KernelTestBase::register in core/tests/Drupal/KernelTests/KernelTestBase.php
Registers test-specific services.

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