MediaWiki REL1_35
ThumbnailBeforeProduceHTMLHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
6
23 public function onThumbnailBeforeProduceHTML( $thumbnail, &$attribs,
24 &$linkAttribs
25 );
26}
Media transform output for images.
onThumbnailBeforeProduceHTML( $thumbnail, &$attribs, &$linkAttribs)
This hook is called before an image HTML is about to be rendered (by ThumbnailImage:toHtml method).