MediaWiki REL1_35
MediaWiki\User\Hook\UserGetEmailHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\User\Hook\UserGetEmailHook:

Public Member Functions

 onUserGetEmail ( $user, &$email)
 This hook is called when getting an user email address.
 

Detailed Description

Stable to implement.

Definition at line 11 of file UserGetEmailHook.php.

Member Function Documentation

◆ onUserGetEmail()

MediaWiki\User\Hook\UserGetEmailHook::onUserGetEmail (   $user,
$email 
)

This hook is called when getting an user email address.

Since
1.35
Parameters
User$userUser object
string&$emailEmail, change this to override local email
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: