MediaWiki
master
ResourceLoaderForeignApiModulesHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\ResourceLoader\Hook
;
4
5
use
MediaWiki\ResourceLoader\Context
;
6
14
interface
ResourceLoaderForeignApiModulesHook
{
27
public
function
onResourceLoaderForeignApiModules
( &$dependencies, $context ): void;
28
}
MediaWiki\ResourceLoader\Context
Context object that contains information about the state of a specific ResourceLoader web request.
Definition
Context.php:46
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
ResourceLoaderExcludeUserOptionsHook.php:3
includes
ResourceLoader
Hook
ResourceLoaderForeignApiModulesHook.php
Generated on Sun Dec 8 2024 18:25:16 for MediaWiki by
1.10.0