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