You are here

function file_entity_query_entity_field_access_alter in File Entity (fieldable files) 7.3

Same name and namespace in other branches
  1. 7.2 file_entity.module \file_entity_query_entity_field_access_alter()

Implements hook_query_TAG_alter().

This function implements the same functionality as file_entity_query_file_access_alter() for the SQL field storage engine. File access conditions are added for field values belonging to files only.

Related topics

File

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

Code

function file_entity_query_entity_field_access_alter(QueryAlterableInterface $query) {

  //_file_entity_query_file_entity_access_alter($query, 'entity');
}