|
MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
| onThumbnailBeforeProduceHTML ( $thumbnail, &$attribs, &$linkAttribs) | |
| This hook is called before an image HTML is about to be rendered (by ThumbnailImage:toHtml method). | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ThumbnailBeforeProduceHTML" to register handlers implementing this interface.
Definition at line 14 of file ThumbnailBeforeProduceHTMLHook.php.
| MediaWiki\Hook\ThumbnailBeforeProduceHTMLHook::onThumbnailBeforeProduceHTML | ( | $thumbnail, | |
| & | $attribs, | ||
| & | $linkAttribs ) |
This hook is called before an image HTML is about to be rendered (by ThumbnailImage:toHtml method).
| ThumbnailImage | $thumbnail | |
| string[] | &$attribs | Image attribute array |
| string[] | &$linkAttribs | Image link attribute array |
Implemented in MediaWiki\HookContainer\HookRunner.