MediaWiki  master
ContentModelCanBeUsedOnHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Content\Hook;
4 
5 use Title;
6 
29  public function onContentModelCanBeUsedOn( $contentModel, $title, &$ok );
30 }
Represents a title within MediaWiki.
Definition: Title.php:49
This is a hook handler interface, see docs/Hooks.md.
onContentModelCanBeUsedOn( $contentModel, $title, &$ok)
Use this hook to determine whether a content model can be used on a given page.