This is a hook handler interface, see docs/Hooks.md in core. More...
Public Member Functions | |
onTranslate_modifyMessageGroupStates (string $groupId, array &$conf) | |
Allow hooks to change workflow states depending on the group's ID. | |
This is a hook handler interface, see docs/Hooks.md in core.
Use the hook name "Translate:modifyMessageGroupStates" to register handlers implementing this interface.
@stable to implement
Definition at line 15 of file ModifyMessageGroupStatesHook.php.
MediaWiki\Extension\Translate\MessageGroupProcessing\ModifyMessageGroupStatesHook::onTranslate_modifyMessageGroupStates | ( | string | $groupId, |
array & | $conf ) |
Allow hooks to change workflow states depending on the group's ID.
string | $groupId | ID of the current message group |
array | &$conf | Workflow states, can be modified |
Implemented in MediaWiki\Extension\Translate\HookRunner.