MediaWiki REL1_35
MediaWiki\User\Hook\UserSetEmailAuthenticationTimestampHook Interface Reference

Stable to implement. 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.
 

Detailed Description

Stable to implement.

Definition at line 11 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$userUser object
?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: