|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onFileTransformed ( $file, $thumb, $tmpThumbPath, $thumbPath) | |
| This hook is called when a file is transformed and moved into storage. | |
Stable to implement.
Definition at line 12 of file FileTransformedHook.php.
| MediaWiki\Hook\FileTransformedHook::onFileTransformed | ( | $file, | |
| $thumb, | |||
| $tmpThumbPath, | |||
| $thumbPath | |||
| ) |
This hook is called when a file is transformed and moved into storage.
| File | $file | Reference to the File object |
| MediaTransformOutput | $thumb | |
| string | $tmpThumbPath | Temporary file system path of the transformed file |
| string | $thumbPath | Permanent storage path of the transformed file |
Implemented in MediaWiki\HookContainer\HookRunner.