MediaWiki  master
MediaWiki\Hook\LoginFormValidErrorMessagesHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\LoginFormValidErrorMessagesHook:

Public Member Functions

 onLoginFormValidErrorMessages (array &$messages)
 This hook is called in LoginForm when a function gets valid error messages. More...
 

Detailed Description

Stable to implement.

Definition at line 9 of file LoginFormValidErrorMessagesHook.php.

Member Function Documentation

◆ onLoginFormValidErrorMessages()

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).

Since
1.35
Parameters
string[]&$messagesAlready added message keys (including message keys from LoginForm::$validErrorMessages)
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: