MediaWiki  master
ApiQueryTokensRegisterTypesHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Api\Hook;
4 
24  public function onApiQueryTokensRegisterTypes( &$salts );
25 }
MediaWiki\Api\Hook\ApiQueryTokensRegisterTypesHook\onApiQueryTokensRegisterTypes
onApiQueryTokensRegisterTypes(&$salts)
Use this hook to add additional token types to action=query&meta=tokens.
MediaWiki\Api\Hook
Definition: APIAfterExecuteHook.php:3
MediaWiki\Api\Hook\ApiQueryTokensRegisterTypesHook
This is a hook handler interface, see docs/Hooks.md.
Definition: ApiQueryTokensRegisterTypesHook.php:12