You are here

service cache.backend.database in Drupal 8

Same name and namespace in other branches
  1. 9 core/core.services.yml \cache.backend.database

Class

Drupal\Core\Cache\DatabaseBackendFactory
5 string references to cache.backend.database
CacheFactory::get in core/lib/Drupal/Core/Cache/CacheFactory.php
Instantiates a cache backend class for a given cache bin.
CacheFactoryTest::testCacheFactoryWithDefaultSettings in core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php
Test that the cache factory falls back to the built-in default service.
ChainedFastBackendFactory::__construct in core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php
Constructs ChainedFastBackendFactory object.
DrupalKernelSiteTest::testServicesYml in core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelSiteTest.php
Tests services.yml in site directory.
SimpleTestTest::stubTest in core/modules/simpletest/src/Tests/SimpleTestTest.php
Test to be run and the results confirmed.

File

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

View source
  1. class: Drupal\Core\Cache\DatabaseBackendFactory
  2. arguments:
  3. - '@database'
  4. - '@cache_tags.invalidator.checksum'
  5. - '@settings'