MediaWiki  master
MediaWiki\User\Hook\UserSetEmailAuthenticationTimestampHook Interface Reference

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

Inheritance diagram for MediaWiki\User\Hook\UserSetEmailAuthenticationTimestampHook:

Public Member Functions

 onUserSetEmailAuthenticationTimestamp ( $user, &$timestamp)
 This hook is called when setting the timestamp of a User's email authentication. More...
 

Detailed Description

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

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

Stable to implement

Definition at line 14 of file UserSetEmailAuthenticationTimestampHook.php.

Member Function Documentation

◆ onUserSetEmailAuthenticationTimestamp()

MediaWiki\User\Hook\UserSetEmailAuthenticationTimestampHook::onUserSetEmailAuthenticationTimestamp (   $user,
$timestamp 
)

This hook is called when setting the timestamp of a User's email authentication.

Since
1.35
Parameters
User$user
?string&$timestamp new timestamp, change this to override local email authentication timestamp
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: