Page MenuHomeWickedGov Phorge

ContactFormHook.php
No OneTemporary

Size
714 B
Referenced Files
None
Subscribers
None

ContactFormHook.php

<?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

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)

Event Timeline