This is a hook handler interface, see docs/Hooks.md in core. More...
Public Member Functions | |
onTranslateEventMessageGroupStateChange (MessageGroup $group, string $code, $oldState, string $newState) | |
Event triggered when a message group workflow state is changed in a language. | |
This is a hook handler interface, see docs/Hooks.md in core.
Use the hook name "TranslateEventMessageGroupStateChange" to register handlers implementing this interface.
@stable to implement
Definition at line 15 of file EventMessageGroupStateChangeHook.php.
MediaWiki\Extension\Translate\MessageGroupProcessing\EventMessageGroupStateChangeHook::onTranslateEventMessageGroupStateChange | ( | MessageGroup | $group, |
string | $code, | ||
$oldState, | |||
string | $newState ) |
Event triggered when a message group workflow state is changed in a language.
MessageGroup | $group | Message group instance |
string | $code | Language code |
string | false | $oldState | |
string | $newState |
Implemented in MediaWiki\Extension\Translate\HookRunner.