Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\Hooks\WikibaseClientEntityTypesHook Interface Reference

This is a hook handler interface, see docs/Hooks.md in MediaWiki core. More...

+ Inheritance diagram for Wikibase\Client\Hooks\WikibaseClientEntityTypesHook:

Public Member Functions

 onWikibaseClientEntityTypes (array &$entityTypeDefinitions)
 Called when constructing the top-level WikibaseClient factory May be used to define additional entity types.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md in MediaWiki core.

Use the hook name "WikibaseClientEntityTypes" to register handlers implementing this interface.

Member Function Documentation

◆ onWikibaseClientEntityTypes()

Wikibase\Client\Hooks\WikibaseClientEntityTypesHook::onWikibaseClientEntityTypes ( array & $entityTypeDefinitions)

Called when constructing the top-level WikibaseClient factory May be used to define additional entity types.

See also the WikibaseRepoEntityTypesHook.

Hook handlers may add additional definitions. See entitytypes documentation for details.

Parameters
array&$entityTypeDefinitionsthe array of entity type definitions, as defined by WikibaseLib.entitytypes.php

Implemented in Wikibase\Client\Hooks\WikibaseClientHookRunner.


The documentation for this interface was generated from the following file: