| Versionen | |
|---|---|
| drupal7 | 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 file_save()
$file The file that has just been created.
None.
modules/
<?php
function hook_file_insert(&$file) {
}
?>
Kommentare
Kommentar hinzufügen