Skip navigation
Help

hook_file_copy

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

1 function implements hook_file_copy()

1 invocation of hook_file_copy()

File

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

Code

function hook_file_copy($file, $source) {

}