Jump to content

Extension:Wikibase Repository/Hooks/GetEntityContentModelForTitle

From mediawiki.org
GetEntityContentModelForTitle
Available from version ??? (Gerrit change 507910)

Define function:
public static function onGetEntityContentModelForTitle( Title $title, &$contentModel ) { ... }
Attach hook:
$wgHooks['GetEntityContentModelForTitle'][] = 'MyExtensionHooks::onGetEntityContentModelForTitle';
Called from:File(s): Wikibase Repository / repo/includes/Content/EntityContentFactory.php

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:GetEntityContentModelForTitle extensions.