MediaWiki REL1_37
MediaWiki\Hook\SpecialResetTokensTokensHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\SpecialResetTokensTokensHook:

Public Member Functions

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

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SpecialResetTokensTokens" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 12 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: