You are here

function file_entity_file_update in File Entity (fieldable files) 7

Same name and namespace in other branches
  1. 7.3 file_entity.file.inc \file_entity_file_update()
  2. 7.2 file_entity.file.inc \file_entity_file_update()

Implement hook_file_update().

File

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

Code

function file_entity_file_update($file) {
  field_attach_update('file', $file);
}