Extension:Echo/Hooks/EchoCreateNotificationComplete

From mediawiki.org
Jump to navigation Jump to search
EchoCreateNotificationComplete
Available from version 1.22.0 (Gerrit change 65349)

Define function:
public static function onEchoCreateNotificationComplete( EchoNotification $notif ) { ... }
Attach hook:
$wgHooks['EchoCreateNotificationComplete'][] = 'MyExtensionHooks::onEchoCreateNotificationComplete';
Called from:File(s): Echo / includes/model/Notification.php
Function(s): insert

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

Details[edit]

  • $notif: An EchoNotification object