service cache.backend.database in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \cache.backend.database
- 9 core/core.services.yml \cache.backend.database
Class
Drupal\Core\Cache\DatabaseBackendFactoryTags
- backend_overridable
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 - Tests 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.
- DatabaseBackendTest::testCacheBackendDatabaseIsBackendOverridable in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ DatabaseBackendTest.php - Test that the service "cache.backend.database" is backend overridable.
- DrupalKernelSiteTest::testServicesYml in core/
tests/ Drupal/ KernelTests/ Core/ DrupalKernel/ DrupalKernelSiteTest.php - Tests services.yml in site directory.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Cache\DatabaseBackendFactory
- arguments:
- - '@database'
- - '@cache_tags.invalidator.checksum'
- - '@settings'
- tags:
- - { name: backend_overridable }