MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\Api\ApiHookRunner.
Public Member Functions | |
onApiMain__moduleManager ( $moduleManager) | |
This hook is called when ApiMain has finished initializing its module manager. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ApiMain::moduleManager" to register handlers implementing this interface.
Definition at line 15 of file ApiMain__moduleManagerHook.php.
MediaWiki\Api\Hook\ApiMain__moduleManagerHook::onApiMain__moduleManager | ( | $moduleManager | ) |
This hook is called when ApiMain has finished initializing its module manager.
Use this hook to conditionally register API modules.
ApiModuleManager | $moduleManager |
Implemented in MediaWiki\Api\ApiHookRunner.