Extension:Echo/Hooks/EchoGetNotificationTypes

From MediaWiki.org
Jump to navigation Jump to search
EchoGetNotificationTypes
Available from version ??? (gerrit:10679)

Define function:
public static function onEchoGetNotificationTypes( $user, $event, &$notifyTypes ) { ... }
Attach hook:
$wgHooks['EchoGetNotificationTypes'][] = 'MyExtensionHooks::onEchoGetNotificationTypes';
Called from:File(s): Echo / includes/controller/NotificationController.php
Function(s): notify

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

Details[edit]

  • $user:
  • $event:
  • &$notifyTypes: