Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4088778
ModifyMessageGroupStatesHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
816 B
Referenced Files
None
Subscribers
None
ModifyMessageGroupStatesHook.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Aug 18 2026, 10:12 (6 w, 13 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
96/2b/3bac9485e66789d73219f8fc702f
Default Alt Text
ModifyMessageGroupStatesHook.php (816 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment