|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onFileTransformed ( $file, $thumb, $tmpThumbPath, $thumbPath) | |
| This hook is called when a file is transformed and moved into storage. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "FileTransformed" to register handlers implementing this interface.
Definition at line 15 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.