Extension:Echo/Hooks/EchoGetDefaultNotifiedUsers

EchoGetDefaultNotifiedUsers
Available from version ???
Allows determining which users get notified for which type of event
Define function:
public static function onEchoGetDefaultNotifiedUsers( EchoEvent $event, array &$users ) { ... }
Attach hook:
$wgHooks['EchoGetDefaultNotifiedUsers'][] = 'MyExtensionHooks::onEchoGetDefaultNotifiedUsers';
Called from:File(s): Echo / NotificationController.php
Function(s): getUsersToNotifyForEvent

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:EchoGetDefaultNotifiedUsers extensions.

Details

edit
  • $event: EchoEvent object
  • &$users: Array of User objects