MediaWiki  master
APIQueryInfoTokensHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Api\Hook;
4 
25  public function onAPIQueryInfoTokens( &$tokenFunctions );
26 }
MediaWiki\Api\Hook
Definition: APIAfterExecuteHook.php:3
MediaWiki\Api\Hook\APIQueryInfoTokensHook
Definition: APIQueryInfoTokensHook.php:9
MediaWiki\Api\Hook\APIQueryInfoTokensHook\onAPIQueryInfoTokens
onAPIQueryInfoTokens(&$tokenFunctions)
Use this hook to add custom tokens to prop=info.