Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F3985588
AuthChangeFormFieldsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
AuthChangeFormFieldsHook.php
View Options
<?php
namespace
MediaWiki\SpecialPage\Hook
;
use
MediaWiki\Auth\AuthenticationRequest
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "AuthChangeFormFields" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
AuthChangeFormFieldsHook
{
/**
* This hook is called after converting a field information array obtained
* from a set of AuthenticationRequest classes into a form descriptor; hooks
* can tweak the array to change how login etc. forms should look.
*
* @since 1.35
*
* @param AuthenticationRequest[] $requests Array of AuthenticationRequests the fields
* are created from
* @param array $fieldInfo Field information array (union of all
* AuthenticationRequest::getFieldInfo() responses)
* @param array &$formDescriptor HTMLForm descriptor. The special key 'weight' can be set
* to change the order of the fields.
* @param string $action One of the AuthManager::ACTION_* constants
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onAuthChangeFormFields
(
$requests
,
$fieldInfo
,
&
$formDescriptor
,
$action
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 13 2026, 23:28 (16 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a7/5e/a011161f59d83a2f11de324014c8
Default Alt Text
AuthChangeFormFieldsHook.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment