This is a hook handler interface, see docs/Hooks.md in core. More...
Public Member Functions | |
onTranslateBeforeAddModules (array &$modules) | |
Provides an opportunity to load extra modules. | |
This is a hook handler interface, see docs/Hooks.md in core.
Use the hook name "TranslateBeforeAddModules" to register handlers implementing this interface.
@stable to implement
Definition at line 13 of file BeforeAddModulesHook.php.
MediaWiki\Extension\Translate\TranslatorInterface\BeforeAddModulesHook::onTranslateBeforeAddModules | ( | array & | $modules | ) |
Provides an opportunity to load extra modules.
string[] | &$modules | List of resource loader module names |
Implemented in MediaWiki\Extension\Translate\HookRunner.