Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5985353
UserGetEmailHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
603 B
Referenced Files
None
Subscribers
None
UserGetEmailHook.php
View Options
<?php
namespace
MediaWiki\User\Hook
;
use
MediaWiki\User\User
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UserGetEmail" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
UserGetEmailHook
{
/**
* This hook is called when getting an user email address.
*
* @since 1.35
*
* @param User $user
* @param string &$email Email, change this to override local email
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onUserGetEmail
(
$user
,
&
$email
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 23:45 (2 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1b/b9/4340cef281dbce73fb2ea1c34271
Default Alt Text
UserGetEmailHook.php (603 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment