MediaWiki  master
MediaWiki\Api\Hook\ApiQuery__moduleManagerHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Api\Hook\ApiQuery__moduleManagerHook:

Public Member Functions

 onApiQuery__moduleManager ( $moduleManager)
 This hook is called when ApiQuery has finished initializing its module manager. More...
 

Detailed Description

Stable to implement.

Definition at line 12 of file ApiQuery__moduleManagerHook.php.

Member Function Documentation

◆ onApiQuery__moduleManager()

MediaWiki\Api\Hook\ApiQuery__moduleManagerHook::onApiQuery__moduleManager (   $moduleManager)

This hook is called when ApiQuery has finished initializing its module manager.

Use this hook to conditionally register API query modules.

Since
1.35
Parameters
ApiModuleManager$moduleManager
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\Api\ApiHookRunner.


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