function DatabaseCacheTagsChecksum::getDatabaseConnection

Returns the database connection.

Return value

\Drupal\Core\Database\Connection The database connection.

Overrides CacheTagsChecksumTrait::getDatabaseConnection

File

core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php, line 139

Class

DatabaseCacheTagsChecksum
Cache tags invalidations checksum implementation that uses the database.

Namespace

Drupal\Core\Cache

Code

public function getDatabaseConnection() {
  return $this->connection;
}

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