Open main menu

Extension:Wikibase Repository/Hooks/GetEntityContentModelForTitle

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.