MediaWiki REL1_35
MediaWiki\User\Hook\EmailConfirmedHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\User\Hook\EmailConfirmedHook:

Public Member Functions

 onEmailConfirmed ( $user, &$confirmed)
 This hook is called when checking that the user's email address is "confirmed".
 

Detailed Description

Stable to implement.

Definition at line 11 of file EmailConfirmedHook.php.

Member Function Documentation

◆ onEmailConfirmed()

MediaWiki\User\Hook\EmailConfirmedHook::onEmailConfirmed (   $user,
$confirmed 
)

This hook is called when checking that the user's email address is "confirmed".

This runs before the other checks, such as anonymity and the real check; return true to allow those checks to occur, and false if checking is done.

Since
1.35
Parameters
User$userUser being checked
bool&$confirmedWhether or not the email address is confirmed
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: