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 }
A content handler knows how do deal with a specific type of content on a wiki page.
This is a hook handler interface, see docs/Hooks.md.
onContentHandlerForModelID( $modeName, &$handler)
This hook is called when a ContentHandler is requested for a given content model name,...