Skin:Minerva Neue/Hooks/SkinMinervaReplaceNotificationsBadge
Jump to navigation
Jump to search
SkinMinervaReplaceNotificationsBadge | |
---|---|
Available from version master Replace the notifications mechanism for Minerva. For integration with notifications extensions e.g. Echo only. |
|
Define function: |
public static function onSkinMinervaReplaceNotificationsBadge( User $user, Title $currentTitle, string &$badge ) { ... }
|
Attach hook: |
In extension.json: {
"Hooks": {
"SkinMinervaReplaceNotificationsBadge": "MyExtensionHooks::onSkinMinervaReplaceNotificationsBadge"
}
}
|
Called from: | File(s): |
Interface: | SkinMinervaReplaceNotificationsBadgeHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:SkinMinervaReplaceNotificationsBadge extensions.