MediaWiki REL1_35
MediaWiki\Hook\BitmapHandlerTransformHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\BitmapHandlerTransformHook:

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.
 

Detailed Description

Stable to implement.

Definition at line 13 of file BitmapHandlerTransformHook.php.

Member Function Documentation

◆ onBitmapHandlerTransform()

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.

Since
1.35
Parameters
TransformationalImageHandler$handler
File$image
array&$scalerParamsArray with scaler parameters
null | MediaTransformOutput&$mto
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: