You are here

constant FILE_ENTITY_ACCESS_DENY in File Entity (fieldable files) 7.3

Same name and namespace in other branches
  1. 7.2 file_entity.module \FILE_ENTITY_ACCESS_DENY

Modules should return this value from hook_file_entity_access() to deny access to a file.

3 uses of FILE_ENTITY_ACCESS_DENY
file_entity_access in ./file_entity.module
Determine if a user may perform the given operation on the specified file.
file_entity_file_entity_access in ./file_entity.module
Implements hook_file_entity_access().
hook_file_entity_access in ./file_entity.api.php
Control access to a file.

File

./file_entity.module, line 18
Extends Drupal file entities to be fieldable and viewable.

Code

define('FILE_ENTITY_ACCESS_DENY', 'deny');