MediaWiki
REL1_37
ResourceLoaderForeignApiModulesHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\ResourceLoader\Hook
;
4
5
use
ResourceLoaderContext
;
6
14
interface
ResourceLoaderForeignApiModulesHook
{
27
public
function
onResourceLoaderForeignApiModules
( &$dependencies, $context ): void;
28
}
ResourceLoaderContext
Context object that contains information about the state of a specific ResourceLoader web request.
Definition
ResourceLoaderContext.php:34
MediaWiki\ResourceLoader\Hook\ResourceLoaderForeignApiModulesHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ResourceLoaderForeignApiModulesHook.php:14
MediaWiki\ResourceLoader\Hook\ResourceLoaderForeignApiModulesHook\onResourceLoaderForeignApiModules
onResourceLoaderForeignApiModules(&$dependencies, $context)
Add dependencies to the mediawiki.ForeignApi module when you wish to override its behavior.
MediaWiki\ResourceLoader\Hook
Definition
ResourceLoaderForeignApiModulesHook.php:3
includes
resourceloader
Hook
ResourceLoaderForeignApiModulesHook.php
Generated on Fri Apr 5 2024 23:40:44 for MediaWiki by
1.9.8