function CacheTagsChecksumTrait::getDatabaseConnection
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php \Drupal\Core\Cache\CacheTagsChecksumTrait::getDatabaseConnection()
- 10 core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php \Drupal\Core\Cache\CacheTagsChecksumTrait::getDatabaseConnection()
- 11.x core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php \Drupal\Core\Cache\CacheTagsChecksumTrait::getDatabaseConnection()
Returns the database connection.
Return value
\Drupal\Core\Database\Connection The database connection.
1 method overrides CacheTagsChecksumTrait::getDatabaseConnection()
- DatabaseCacheTagsChecksum::getDatabaseConnection in core/
lib/ Drupal/ Core/ Cache/ DatabaseCacheTagsChecksum.php - Returns the database connection.
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheTagsChecksumTrait.php, line 175
Class
- CacheTagsChecksumTrait
- A trait for cache tag checksum implementations.
Namespace
Drupal\Core\CacheCode
protected abstract function getDatabaseConnection();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.