Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6087282
ContactFormHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
714 B
Referenced Files
None
Subscribers
None
ContactFormHook.php
View Options
<?php
namespace
MediaWiki\Extension\ContactPage\Hooks
;
use
MailAddress
;
/**
* This is a hook handler interface, see docs/Hooks.md in core.
* Use the hook name "ContactForm" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
ContactFormHook
{
/**
* @param MailAddress &$contactRecipientAddress
* @param MailAddress|null &$replyTo
* @param string &$subject
* @param string &$text
* @param string $formType
* @param array $formData
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onContactForm
(
&
$contactRecipientAddress
,
&
$replyTo
,
&
$subject
,
&
$text
,
$formType
,
$formData
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 5 2026, 15:03 (6 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
9c/6b/e7aec788f7329d33f52b6fc54366
Default Alt Text
ContactFormHook.php (714 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment