hook_file_copy

  1. drupal
    1. 7
Versions
7 hook_file_copy($file, $source)

Respond to a file that has been copied.

Parameters

$file The newly copied file object.

$source The original file before the copy.

See also

file_copy()

Related topics

Code

drupal/modules/system/system.api.php, line 2625

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

}
?>