Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4066035
EchoGetNotificationTypesHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
662 B
Referenced Files
None
Subscribers
None
EchoGetNotificationTypesHook.php
View Options
<?php
namespace
MediaWiki\Extension\Notifications\Hooks
;
use
MediaWiki\Extension\Notifications\Model\Event
;
use
MediaWiki\User\User
;
/**
* This is a hook handler interface, see docs/Hooks.md in core.
* Use the hook name "EchoGetNotificationTypes" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
EchoGetNotificationTypesHook
{
/**
* @param User $user
* @param Event $event
* @param string[] &$userNotifyTypes
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onEchoGetNotificationTypes
(
User
$user
,
Event
$event
,
array
&
$userNotifyTypes
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 16 2026, 16:07 (11 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
14/ea/0508a17c7285d2e28c8ee67020da
Default Alt Text
EchoGetNotificationTypesHook.php (662 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment