MediaWiki REL1_35
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.
 

Detailed Description

Stable to implement.

Definition at line 11 of file APIGetAllowedParamsHook.php.

Member Function Documentation

◆ onAPIGetAllowedParams()

MediaWiki\Api\Hook\APIGetAllowedParamsHook::onAPIGetAllowedParams (   $module,
$params,
  $flags 
)

Use this hook to modify a module's parameters.

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