Page MenuHomeWickedGov Phorge

ThumbnailBeforeProduceHTMLHook.php
No OneTemporary

Size
767 B
Referenced Files
None
Subscribers
None

ThumbnailBeforeProduceHTMLHook.php

<?php
namespace MediaWiki\Hook;
use ThumbnailImage;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ThumbnailBeforeProduceHTML" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface ThumbnailBeforeProduceHTMLHook {
/**
* This hook is called before an image HTML is about to be
* rendered (by ThumbnailImage:toHtml method).
*
* @since 1.35
*
* @param ThumbnailImage $thumbnail
* @param string[] &$attribs Image attribute array
* @param string[] &$linkAttribs Image link attribute array
* @return bool|void True or no return value to continue or false to abort
*/
public function onThumbnailBeforeProduceHTML( $thumbnail, &$attribs,
&$linkAttribs
);
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 23:22 (2 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
00/83/b8ba1c3f7d61d4114589dfe4ca3b
Default Alt Text
ThumbnailBeforeProduceHTMLHook.php (767 B)

Event Timeline