| FileTransformed | |
|---|---|
| Available fromversion 1.20.0 When a file is transformed and moved into storage. | |
| Define function: | publicstaticfunctiononFileTransformed($file,$thumb,$tmpThumbPath,$thumbPath){...} |
| Attach hook: | Inextension.json:{"Hooks":{"FileTransformed":"MediaWiki\\Extension\\MyExtension\\Hooks::onFileTransformed"}} |
| Called from: | File(s):File.php |
| Interface: | FileTransformedHook.php |
For more information about attaching hooks, seeManual:Hooks.
For examples of extensions using this hook, seeCategory:FileTransformed extensions.