MediaWiki  master
Page\Hook\ImageOpenShowImageInlineBeforeHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for Page\Hook\ImageOpenShowImageInlineBeforeHook:

Public Member Functions

 onImageOpenShowImageInlineBefore ( $imagePage, $output)
 This hook is called just before showing the image on an image page. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ImageOpenShowImageInlineBefore" to register handlers implementing this interface.

Stable to implement

Definition at line 15 of file ImageOpenShowImageInlineBeforeHook.php.

Member Function Documentation

◆ onImageOpenShowImageInlineBefore()

Page\Hook\ImageOpenShowImageInlineBeforeHook::onImageOpenShowImageInlineBefore (   $imagePage,
  $output 
)

This hook is called just before showing the image on an image page.

Since
1.35
Parameters
ImagePage$imagePageImagePage object ($this)
OutputPage$output$wgOut
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: