Jump to content

Extension:Wikibase Repository/Hooks/WikibaseRepoEntityTypes

From mediawiki.org
WikibaseRepoEntityTypes
Available from version ??? (Gerrit change 426936)

Define function:
public static function onWikibaseRepoEntityTypes( array &$entityTypeDefinitions ) { ... }
Attach hook:
$wgHooks['WikibaseRepoEntityTypes'][] = 'MyExtensionHooks::onWikibaseRepoEntityTypes';
Called from:File(s): Wikibase Repository / repo/includes/WikibaseRepo.php

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