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