MediaWiki  master
ContentHandlerForModelIDHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Content\Hook;
4 
6 
26  public function onContentHandlerForModelID( $modeName, &$handler );
27 }
ContentHandler
A content handler knows how do deal with a specific type of content on a wiki page.
Definition: ContentHandler.php:62
MediaWiki\Content\Hook
Definition: ContentAlterParserOutputHook.php:3
MediaWiki\Content\Hook\ContentHandlerForModelIDHook\onContentHandlerForModelID
onContentHandlerForModelID( $modeName, &$handler)
This hook is called when a ContentHandler is requested for a given content model name,...
MediaWiki\Content\Hook\ContentHandlerForModelIDHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ContentHandlerForModelIDHook.php:14