Page MenuHomeWickedGov Phorge

ModifyMessageGroupStatesHook.php
No OneTemporary

Size
816 B
Referenced Files
None
Subscribers
None

ModifyMessageGroupStatesHook.php

<?php
declare( strict_types = 1 );
// phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
namespace MediaWiki\Extension\Translate\MessageGroupProcessing;
/**
* 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
* @ingroup Hooks
*/
interface ModifyMessageGroupStatesHook {
/**
* Allow hooks to change workflow states depending on the group's ID
*
* @param string $groupId ID of the current message group
* @param array &$conf Workflow states, can be modified
* @return bool|void True or no return value to continue or false to abort
*/
public function onTranslate_modifyMessageGroupStates( string $groupId, array &$conf );
}

File Metadata

Mime Type
text/x-php
Expires
Aug 18 2026, 10:12 (6 w, 17 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
96/2b/3bac9485e66789d73219f8fc702f
Default Alt Text
ModifyMessageGroupStatesHook.php (816 B)

Event Timeline