|
MediaWiki REL1_35
|

Public Member Functions | |
| onApiTokensGetTokenTypes (&$tokenTypes) | |
| Use this hook to extend action=tokens with new token types. | |
Definition at line 9 of file ApiTokensGetTokenTypesHook.php.
| MediaWiki\Api\Hook\ApiTokensGetTokenTypesHook::onApiTokensGetTokenTypes | ( | & | $tokenTypes | ) |
Use this hook to extend action=tokens with new token types.
| array | &$tokenTypes | Supported token types in format 'type' => callback function used to retrieve this type of token |
Implemented in MediaWiki\Api\ApiHookRunner.