Page MenuHomeWickedGov Phorge

EchoGetNotificationTypesHook.php
No OneTemporary

Size
662 B
Referenced Files
None
Subscribers
None

EchoGetNotificationTypesHook.php

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

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)

Event Timeline