Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4028517
ApiQuery__moduleManagerHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
744 B
Referenced Files
None
Subscribers
None
ApiQuery__moduleManagerHook.php
View Options
<?php
namespace
MediaWiki\Api\Hook
;
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
use
MediaWiki\Api\ApiModuleManager
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ApiQuery::moduleManager" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
ApiQuery__moduleManagerHook
{
/**
* This hook is called when ApiQuery has finished initializing its
* module manager. Use this hook to conditionally register API query modules.
*
* @since 1.35
*
* @param ApiModuleManager $moduleManager
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onApiQuery__moduleManager
(
$moduleManager
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 14 2026, 21:37 (12 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
89/28/29963d2c9751fa4391e64eb13e1f
Default Alt Text
ApiQuery__moduleManagerHook.php (744 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment