Page MenuHomeWickedGov Phorge

APIGetAllowedParamsHook.php
No OneTemporary

Size
685 B
Referenced Files
None
Subscribers
None

APIGetAllowedParamsHook.php

<?php
namespace MediaWiki\Api\Hook;
use MediaWiki\Api\ApiBase;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "APIGetAllowedParams" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface APIGetAllowedParamsHook {
/**
* Use this hook to modify a module's parameters.
*
* @since 1.35
*
* @param ApiBase $module
* @param array &$params Array of parameters
* @param int $flags Zero or OR-ed flags like ApiBase::GET_VALUES_FOR_HELP
* @return bool|void True or no return value to continue or false to abort
*/
public function onAPIGetAllowedParams( $module, &$params, $flags );
}

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 13:55 (1 d, 18 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b4/d1/f85fd7d444c187cfae68621b39de
Default Alt Text
APIGetAllowedParamsHook.php (685 B)

Event Timeline