You are here

function filehash_file_create in File Hash 8

Implements hook_ENTITY_TYPE_create().

File

./filehash.module, line 39
Generate hashes for each uploaded file.

Code

function filehash_file_create(EntityInterface $file) {
  filehash_hash($file);
}