Extension:Translate/Hooks/TranslateInitGroupLoaders
(Redirected from Manual:Hooks/TranslateInitGroupLoaders)
TranslateInitGroupLoaders | |
---|---|
Available from version ??? (Gerrit change 508112) Hook to register new message group loaders that can then load MessageGroups for translation purpose. |
|
Define function: | public static function onTranslateInitGroupLoaders( &$groupLoader ) { ... }
|
Attach hook: | $wgHooks['TranslateInitGroupLoaders'][] = 'MyExtensionHooks::onTranslateInitGroupLoaders';
|
Called from: | File(s): Translate / MessageGroups.php Function(s): getGroupLoaders |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:TranslateInitGroupLoaders extensions.
Details
edit- array &$groupLoader: List of message group loader class names that implement the MessageGroupLoader