MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onLoginFormValidErrorMessages (array &$messages) | |
This hook is called in LoginForm when a function gets valid error messages. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "LoginFormValidErrorMessages" to register handlers implementing this interface.
Definition at line 12 of file LoginFormValidErrorMessagesHook.php.
MediaWiki\Hook\LoginFormValidErrorMessagesHook::onLoginFormValidErrorMessages | ( | array & | $messages | ) |
This hook is called in LoginForm when a function gets valid error messages.
This hook allows extensions to add additional error messages (except messages already in LoginForm::$validErrorMessages).
string[] | &$messages | Already added message keys (including message keys from LoginForm::$validErrorMessages) |
Implemented in MediaWiki\HookContainer\HookRunner.