You are here

public function StaticCache::__construct in Tome 8

Constructs a StaticCache object.

Parameters

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

\Drupal\Core\Cache\CacheTagsChecksumInterface $checksum_provider: The cache tags checksum provider.

Overrides DatabaseBackend::__construct

File

modules/tome_static/src/StaticCache.php, line 29

Class

StaticCache
Determines if pages are statically cached.

Namespace

Drupal\tome_static

Code

public function __construct(Connection $connection, CacheTagsChecksumInterface $checksum_provider) {
  parent::__construct($connection, $checksum_provider, 'tome_static', self::MAXIMUM_NONE);
}