cache.backend.database

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

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

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