Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\TranslatorSandbox\UserPromotedHook Interface Reference

This is a hook handler interface, see docs/Hooks.md in core. More...

Inheritance diagram for MediaWiki\Extension\Translate\TranslatorSandbox\UserPromotedHook:
MediaWiki\Extension\Translate\HookRunner

Public Member Functions

 onTranslate_TranslatorSandbox_UserPromoted (UserIdentity $user)
 Event generated when an account inside the translator sandbox is approved.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md in core.

Use the hook name "Translate:TranslatorSandbox:UserPromoted" to register handlers implementing this interface.

@stable to implement

Author
Niklas Laxström @license GPL-2.0-or-later
Since
2023.03

Definition at line 20 of file UserPromotedHook.php.

Member Function Documentation

◆ onTranslate_TranslatorSandbox_UserPromoted()

MediaWiki\Extension\Translate\TranslatorSandbox\UserPromotedHook::onTranslate_TranslatorSandbox_UserPromoted ( UserIdentity $user)

Event generated when an account inside the translator sandbox is approved.

Implemented in MediaWiki\Extension\Translate\HookRunner.


The documentation for this interface was generated from the following file: