MediaWiki REL1_35
ApiTokensGetTokenTypesHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Api\Hook;
4
19 public function onApiTokensGetTokenTypes( &$tokenTypes );
20}
onApiTokensGetTokenTypes(&$tokenTypes)
Use this hook to extend action=tokens with new token types.