Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\MessageGroupProcessing\InitGroupLoadersHook Interface Reference

This is a hook handler interface, see docs/Hooks.md in core. More...

Inheritance diagram for MediaWiki\Extension\Translate\MessageGroupProcessing\InitGroupLoadersHook:
MediaWiki\Extension\Translate\HookRunner

Public Member Functions

 onTranslateInitGroupLoaders (array &$groupLoader, array $deps)
 Hook to register new message group loaders that can then load MessageGroups for translation purpose.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md in core.

Use the hook name "TranslateInitGroupLoaders" to register handlers implementing this interface.

@stable to implement

Definition at line 13 of file InitGroupLoadersHook.php.

Member Function Documentation

◆ onTranslateInitGroupLoaders()

MediaWiki\Extension\Translate\MessageGroupProcessing\InitGroupLoadersHook::onTranslateInitGroupLoaders ( array & $groupLoader,
array $deps )

Hook to register new message group loaders that can then load MessageGroups for translation purpose.

Parameters
array&$groupLoaderList of message group loader class names that implement the MessageGroupLoader
array$deps
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\Extension\Translate\HookRunner.


The documentation for this interface was generated from the following file: