Page MenuHomeWickedGov Phorge

EmailUserPermissionsErrorsHook.php
No OneTemporary

Size
868 B
Referenced Files
None
Subscribers
None

EmailUserPermissionsErrorsHook.php

<?php
namespace MediaWiki\Hook;
use MediaWiki\User\User;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "EmailUserPermissionsErrors" to register handlers implementing this interface.
*
* @ingroup Hooks
* @deprecated since 1.41 Handle the EmailUserAuthorizeSend hook instead.
*/
interface EmailUserPermissionsErrorsHook {
/**
* Use this hook to retrieve permissions errors for emailing a user.
*
* @since 1.35
*
* @param User $user The user who is trying to email another user.
* @param string $editToken The user's edit token.
* @param bool|string|array &$hookErr Out-param for the error. Passed as the parameters to
* OutputPage::showErrorPage.
* @return bool|void True or no return value to continue or false to abort
*/
public function onEmailUserPermissionsErrors( $user, $editToken, &$hookErr );
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 07:09 (2 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
c7/1f/135fe2e79b32d6452ce6851dda9b
Default Alt Text
EmailUserPermissionsErrorsHook.php (868 B)

Event Timeline