function taxonomy_file_download_access
Implements hook_file_download_access().
File
-
modules/
taxonomy/ taxonomy.module, line 2068
Code
function taxonomy_file_download_access($field, $entity_type, $entity) {
if ($entity_type == 'taxonomy_term') {
return user_access('access content');
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.