MediaWiki
REL1_35
ResourceLoaderForeignApiModulesHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\ResourceLoader\Hook
;
4
5
use
ResourceLoaderContext
;
6
11
interface
ResourceLoaderForeignApiModulesHook
{
24
public
function
onResourceLoaderForeignApiModules
( &$dependencies, $context ) : void;
25
}
ResourceLoaderContext
Context object that contains information about the state of a specific ResourceLoader web request.
Definition
ResourceLoaderContext.php:33
MediaWiki\ResourceLoader\Hook\ResourceLoaderForeignApiModulesHook
Stable to implement.
Definition
ResourceLoaderForeignApiModulesHook.php:11
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 Sat Apr 6 2024 00:07:41 for MediaWiki by
1.9.8