X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=blobdiff_plain;f=docs%2Fhooks.txt;h=79ba13ad4fd6907abe9b869310869c38af2c4628;hb=af28c6f55abdf3d00b18cc44af8ca41e22955491;hp=49e0801a2fec0edf54c1f76a6cf0512d8b96e483;hpb=4c1973e52e8d3c3b7aa6203a985ff1cdf0de6d86;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/hooks.txt b/docs/hooks.txt index 49e0801a2f..79ba13ad4f 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -981,6 +981,12 @@ $article: in case all revisions of the file are deleted a reference to the $user: user who performed the deletion $reason: reason +'FileTransformed': When a file is transformed and moved into storage +$file: reference to the File object +$thumb: the MediaTransformOutput object +$tmpThumbPath: The temporary file system path of the transformed file +$thumbPath: The permanent storage path of the transformed file + 'FileUpload': When a file upload occurs $file : Image object representing the file that was uploaded $reupload : Boolean indicating if there was a previously another image there or not (since 1.17)