You are here

function scald_file_download_access in Scald: Media Management made easy 7

Implements hook_file_download_access().

File

./scald.module, line 1928
The Scald Core, which handles all Scald Registries and dispatch.

Code

function scald_file_download_access($field, $entity_type, $entity) {
  if ($entity_type == 'scald_atom') {
    return scald_atom_access('view', $entity);
  }
}