|
Wikibase
MediaWiki Wikibase extension
|
This is a hook handler interface, see docs/Hooks.md in MediaWiki core. More...
Inheritance diagram for Wikibase\Client\Hooks\WikibaseClientDataTypesHook:Public Member Functions | |
| onWikibaseClientDataTypes (array &$dataTypeDefinitions) | |
| Called when constructing the top-level WikibaseClient factory May be used to define additional data types See also the Wikibase::Repo::Hooks::WikibaseRepoDataTypesHook. | |
This is a hook handler interface, see docs/Hooks.md in MediaWiki core.
Use the hook name "WikibaseClientDataTypes" to register handlers implementing this interface.
| Wikibase\Client\Hooks\WikibaseClientDataTypesHook::onWikibaseClientDataTypes | ( | array & | $dataTypeDefinitions | ) |
Called when constructing the top-level WikibaseClient factory May be used to define additional data types See also the Wikibase::Repo::Hooks::WikibaseRepoDataTypesHook.
Hook handlers may add additional definitions. See the datatypes documentation for details.
| array | &$dataTypeDefinitions | The array of data type definitions, as defined by WikibaseClient.datatypes.php |
Implemented in Wikibase\Client\Hooks\WikibaseClientHookRunner.