hook_file_move

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 hook_file_move($file, $source)

Respond to a file that has been moved.

Parameters

$file The updated file object after the move.

$source The original file object before the move.

See also

file_move()

Related topics

Code

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

<?php
function hook_file_move($file, $source) {

}
?>