Skip navigation
Help

hook_file_move

7 system.api.php 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

3 functions implement hook_file_move()

1 invocation of hook_file_move()

File

drupal/modules/system/system.api.php, line 2656
Hooks provided by Drupal core and the System module.

Code

function hook_file_move($file, $source) {

}