hook_file_copy

Versions
7
hook_file_copy($file, $source)

Respond to a file that has been copied.

See also

file_copy()

Parameters

$file The newly copied file object.

$source The original file before the copy.

Related topics

Code

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

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

}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.