function hackedFileHasher::cache_set in Hacked! 8.2
1 call to hackedFileHasher::cache_set()
- hackedFileHasher::hash in src/
hackedFileHasher.php - Returns a hash of the given filename.
File
- src/
hackedFileHasher.php, line 27
Class
- hackedFileHasher
- Base class for the different ways that files can be hashed.
Namespace
Drupal\hackedCode
function cache_set($filename, $hash) {
\Drupal::cache(HACKED_CACHE_TABLE)
->set($this
->cache_key($filename), $hash, strtotime('+7 days'));
}