Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4075662
ActionModifyFormFieldsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
767 B
Referenced Files
None
Subscribers
None
ActionModifyFormFieldsHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Page\Article
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ActionModifyFormFields" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
ActionModifyFormFieldsHook
{
/**
* This hook is called before creating an HTMLForm object for a page action.
* Use this hook to change the fields on the form that will be generated.
*
* @since 1.35
*
* @param string $name Name of the action
* @param array &$fields HTMLForm descriptor array
* @param Article $article
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onActionModifyFormFields
(
$name
,
&
$fields
,
$article
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 17 2026, 19:02 (10 w, 16 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
19/b7/20a4c88885fc2380e770d42bee29
Default Alt Text
ActionModifyFormFieldsHook.php (767 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment