MediaWiki  master
IsValidEmailAddrHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
20  public function onIsValidEmailAddr( $addr, &$result );
21 }
MediaWiki\Hook\IsValidEmailAddrHook
Stable to implement.
Definition: IsValidEmailAddrHook.php:9
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\IsValidEmailAddrHook\onIsValidEmailAddr
onIsValidEmailAddr( $addr, &$result)
Use this hook to override the result of Sanitizer::validateEmail(), for instance to return false if t...