You are here

function file_entity_module_implements_alter in File Entity (fieldable files) 7.2

Same name and namespace in other branches
  1. 7.3 file_entity.module \file_entity_module_implements_alter()

Implements hook_module_implements_alter().

File

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

Code

function file_entity_module_implements_alter(&$implementations, $hook) {

  // nginx_accel_redirect_file_transfer() is an accidental hook implementation.
  // @see https://www.drupal.org/node/2278625
  if ($hook == 'file_transfer') {
    unset($implementations['nginx_accel_redirect']);
  }
}