cache_factory

Same name in other branches
  1. 9 core/core.services.yml \cache_factory
  2. 10 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

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.