MediaWiki REL1_35
MediaWiki\Hook\SpecialResetTokensTokensHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\SpecialResetTokensTokensHook:

Public Member Functions

 onSpecialResetTokensTokens (&$tokens)
 This hook is called when building token list for SpecialResetTokens.
 

Detailed Description

Stable to implement.

Definition at line 9 of file SpecialResetTokensTokensHook.php.

Member Function Documentation

◆ onSpecialResetTokensTokens()

MediaWiki\Hook\SpecialResetTokensTokensHook::onSpecialResetTokensTokens ( $tokens)

This hook is called when building token list for SpecialResetTokens.

Since
1.35
Parameters
array&$tokensarray of token information arrays in the format of [ 'preference' => '<preference-name>', 'label-message' => '<message-key>', ]
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: