MediaWiki
REL1_39
ThumbnailBeforeProduceHTMLHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
ThumbnailImage
;
6
14
interface
ThumbnailBeforeProduceHTMLHook
{
26
public
function
onThumbnailBeforeProduceHTML
( $thumbnail, &$attribs,
27
&$linkAttribs
28
);
29
}
ThumbnailImage
Media transform output for images.
Definition
ThumbnailImage.php:33
MediaWiki\Hook\ThumbnailBeforeProduceHTMLHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ThumbnailBeforeProduceHTMLHook.php:14
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 Mon Oct 14 2024 07:23:41 for MediaWiki by
1.10.0