MediaWiki  master
MediaWiki\Api\Hook\APIGetAllowedParamsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Api\Hook\APIGetAllowedParamsHook:

Public Member Functions

 onAPIGetAllowedParams ( $module, &$params, $flags)
 Use this hook to modify a module's parameters. More...

Detailed Description

Stable to implement.

Definition at line 11 of file APIGetAllowedParamsHook.php.

Member Function Documentation

◆ onAPIGetAllowedParams()

MediaWiki\Api\Hook\APIGetAllowedParamsHook::onAPIGetAllowedParams (   $module,

Use this hook to modify a module's parameters.

ApiBase$moduleModule object
array&$paramsArray of parameters
int$flagsZero or OR-ed flags like ApiBase::GET_VALUES_FOR_HELP
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: