MediaWiki
REL1_35
ThumbnailBeforeProduceHTMLHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
ThumbnailImage
;
6
11
interface
ThumbnailBeforeProduceHTMLHook
{
23
public
function
onThumbnailBeforeProduceHTML
( $thumbnail, &$attribs,
24
&$linkAttribs
25
);
26
}
ThumbnailImage
Media transform output for images.
Definition
ThumbnailImage.php:29
MediaWiki\Hook\ThumbnailBeforeProduceHTMLHook
Stable to implement.
Definition
ThumbnailBeforeProduceHTMLHook.php:11
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
Definition
ActionBeforeFormDisplayHook.php:3
includes
media
Hook
ThumbnailBeforeProduceHTMLHook.php
Generated on Sat Apr 6 2024 00:07:31 for MediaWiki by
1.9.8