function DatabaseBackendTest::testCacheBackendDatabaseIsBackendOverridable
Test that the service "cache.backend.database" is backend overridable.
File
- 
              core/tests/ Drupal/ KernelTests/ Core/ Cache/ DatabaseBackendTest.php, line 134 
Class
- DatabaseBackendTest
- Unit test of the database backend using the generic cache unit test base.
Namespace
Drupal\KernelTests\Core\CacheCode
public function testCacheBackendDatabaseIsBackendOverridable() : void {
  $definition = $this->container
    ->getDefinition('cache.backend.database');
  $this->assertTrue($definition->hasTag('backend_overridable'));
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
