This is a hook handler interface, see docs/Hooks.md in core. More...
Public Member Functions | |
onTranslateEventMessageMembershipChange (MessageHandle $handle, array $old, array $new) | |
When group gets new messages or loses messages. | |
This is a hook handler interface, see docs/Hooks.md in core.
Use the hook name "TranslateEventMessageMembershipChange" to register handlers implementing this interface.
@stable to implement
Definition at line 15 of file EventMessageMembershipChangeHook.php.
MediaWiki\Extension\Translate\MessageGroupProcessing\EventMessageMembershipChangeHook::onTranslateEventMessageMembershipChange | ( | MessageHandle | $handle, |
array | $old, | ||
array | $new ) |
When group gets new messages or loses messages.
MessageHandle | $handle | |
string[] | $old | Previous groups |
string[] | $new | Current groups |
Implemented in MediaWiki\Extension\Translate\HookRunner.