You are here

constant FILE_ENTITY_ACCESS_ALLOW in File Entity (fieldable files) 7.3

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

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

2 uses of FILE_ENTITY_ACCESS_ALLOW
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().

File

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

Code

define('FILE_ENTITY_ACCESS_ALLOW', 'allow');