Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1425986
PostInitGroupsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
961 B
Referenced Files
None
Subscribers
None
PostInitGroupsHook.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
MediaWiki\Extension\Translate\MessageGroupProcessing
;
use
MessageGroup
;
/**
* This is a hook handler interface, see docs/Hooks.md in core.
* Use the hook name "TranslatePostInitGroups" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
PostInitGroupsHook
{
/**
* Hook to register new message groups to Translate. Manual cache clear may be needed to have this hook executed.
*
* @param MessageGroup[] &$groups Map of message group id to message group instance
* @param array &$deps List of dependencies as supported by DependencyWrapper class from MediaWiki
* @param string[] &$autoload List of autoloaded classes. Key is the name of the class and value is filename
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onTranslatePostInitGroups
(
array
&
$groups
,
array
&
$deps
,
array
&
$autoload
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 12:21 (18 h, 5 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e4/97/67cc5add26dfe3f40399abf15b6a
Default Alt Text
PostInitGroupsHook.php (961 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment