hook_file_insert
- Versions
- 7
hook_file_insert(&$file)
Respond to a file being added.
This hook is called when a file has been added to the database. The hook doesn't distinguish between files created as a result of a copy or those created by an upload.
See also
Parameters
$file The file that has just been created.
Related topics
Code
modules/system/system.api.php, line 1529
<?php
function hook_file_insert(&$file) {
}
?>Login or register to post comments 