MediaWiki REL1_35
MediaWiki\Content\Hook\GetSlotDiffRendererHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Content\Hook\GetSlotDiffRendererHook:

Public Member Functions

 onGetSlotDiffRenderer ( $contentHandler, &$slotDiffRenderer, $context)
 Use this hook to replace or wrap the standard SlotDiffRenderer for some content type.
 

Detailed Description

Stable to implement.

Definition at line 13 of file GetSlotDiffRendererHook.php.

Member Function Documentation

◆ onGetSlotDiffRenderer()

MediaWiki\Content\Hook\GetSlotDiffRendererHook::onGetSlotDiffRenderer (   $contentHandler,
$slotDiffRenderer,
  $context 
)

Use this hook to replace or wrap the standard SlotDiffRenderer for some content type.

Since
1.35
Parameters
ContentHandler$contentHandlerContentHandler for which the slot diff renderer is fetched
SlotDiffRenderer&$slotDiffRendererSlotDiffRenderer to change or replace
IContextSource$context
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: