hook_file_update

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 hook_file_update($file)

Respond to a file being updated.

This hook is called when file_save() is called on an existing file.

Parameters

$file The file that has just been updated.

See also

file_save()

Related topics

Code

modules/system/system.api.php, line 2661

<?php
function hook_file_update($file) {

}
?>