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 
View source
-   class: Drupal\Core\Cache\DatabaseBackendFactory
-   arguments:
-       - '@database'
-       - '@cache_tags.invalidator.checksum'
-       - '@settings'
-   tags:
-       - { name: backend_overridable }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
