public function APDQCache::isValidBin in Asynchronous Prefetch Database Query Cache 7
Checks if $this->bin represents a valid cache table.
This check is required to ensure that non-cache tables are not truncated accidentally when calling cache_clear_all().
Return value
bool True if this is a valid bin; false if not.
Overrides DrupalDatabaseCache::isValidBin
See also
https://www.drupal.org/node/2421253
1 call to APDQCache::isValidBin()
- APDQCache::clear in ./
apdqc.cache.inc - Implements DrupalCacheInterface::clear().
File
- ./
apdqc.cache.inc, line 829 - Extends Drupal's default database cache so async queries happen.
Class
- APDQCache
- A pretty darn quick cache implementation of Drupal's default cache backend.
Code
public function isValidBin() {
return parent::isValidBin();
}