function hackedFileHasher::cache_get in Hacked! 8.2
1 call to hackedFileHasher::cache_get()
- hackedFileHasher::hash in src/
hackedFileHasher.php - Returns a hash of the given filename.
File
- src/
hackedFileHasher.php, line 31
Class
- hackedFileHasher
- Base class for the different ways that files can be hashed.
Namespace
Drupal\hackedCode
function cache_get($filename) {
$cache = \Drupal::cache(HACKED_CACHE_TABLE)
->get($this
->cache_key($filename));
if (!empty($cache->data)) {
return $cache->data;
}
}