MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onBitmapHandlerTransform ( $handler, $image, &$scalerParams, &$mto) | |
This hook is called before a file is transformed, giving extensions the possibility to transform it themselves. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "BitmapHandlerTransform" to register handlers implementing this interface.
Definition at line 16 of file BitmapHandlerTransformHook.php.
MediaWiki\Hook\BitmapHandlerTransformHook::onBitmapHandlerTransform | ( | $handler, | |
$image, | |||
& | $scalerParams, | ||
& | $mto | ||
) |
This hook is called before a file is transformed, giving extensions the possibility to transform it themselves.
TransformationalImageHandler | $handler | |
File | $image | |
array | &$scalerParams | Array with scaler parameters |
null | MediaTransformOutput | &$mto |
Implemented in MediaWiki\HookContainer\HookRunner.