hook_file_copy

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 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

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

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

}
?>