MediaWiki fundraising/REL1_35
|
Stable to implement. More...
Public Member Functions | |
onIsValidEmailAddr ( $addr, &$result) | |
Use this hook to override the result of Sanitizer::validateEmail(), for instance to return false if the domain name doesn't match your organization. | |
Stable to implement.
Definition at line 9 of file IsValidEmailAddrHook.php.
MediaWiki\Hook\IsValidEmailAddrHook::onIsValidEmailAddr | ( | $addr, | |
& | $result ) |
Use this hook to override the result of Sanitizer::validateEmail(), for instance to return false if the domain name doesn't match your organization.
string | $addr | Email address entered by the user |
bool | null | &$result | Set this and return false to override the internal checks |
Implemented in MediaWiki\HookContainer\HookRunner.