MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onGetSlotDiffRenderer ( $contentHandler, &$slotDiffRenderer, $context) | |
Use this hook to replace or wrap the standard SlotDiffRenderer for some content type. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "GetSlotDiffRenderer" to register handlers implementing this interface.
Definition at line 16 of file GetSlotDiffRendererHook.php.
MediaWiki\Content\Hook\GetSlotDiffRendererHook::onGetSlotDiffRenderer | ( | $contentHandler, | |
& | $slotDiffRenderer, | ||
$context ) |
Use this hook to replace or wrap the standard SlotDiffRenderer for some content type.
ContentHandler | $contentHandler | ContentHandler for which the slot diff renderer is fetched |
SlotDiffRenderer | &$slotDiffRenderer | SlotDiffRenderer to change or replace |
IContextSource | $context |
Implemented in MediaWiki\HookContainer\HookRunner.