Page MenuHomeWickedGov Phorge

ApiQuery__moduleManagerHook.php
No OneTemporary

Size
744 B
Referenced Files
None
Subscribers
None

ApiQuery__moduleManagerHook.php

<?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

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)

Event Timeline