MediaWiki  master
ThumbnailBeforeProduceHTMLHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
6 
26  public function onThumbnailBeforeProduceHTML( $thumbnail, &$attribs,
27  &$linkAttribs
28  );
29 }
ThumbnailImage
Media transform output for images.
Definition: ThumbnailImage.php:29
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\ThumbnailBeforeProduceHTMLHook\onThumbnailBeforeProduceHTML
onThumbnailBeforeProduceHTML( $thumbnail, &$attribs, &$linkAttribs)
This hook is called before an image HTML is about to be rendered (by ThumbnailImage:toHtml method).
MediaWiki\Hook\ThumbnailBeforeProduceHTMLHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ThumbnailBeforeProduceHTMLHook.php:14