MediaWiki
REL1_35
ResourceLoaderTestModulesHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\ResourceLoader\Hook
;
4
5
use
ResourceLoader
;
6
11
interface
ResourceLoaderTestModulesHook
{
30
public
function
onResourceLoaderTestModules
( array &$testModules,
ResourceLoader
$rl ) : void;
31
}
ResourceLoader
ResourceLoader is a loading system for JavaScript and CSS resources.
Definition
ResourceLoader.php:56
MediaWiki\ResourceLoader\Hook\ResourceLoaderTestModulesHook
Definition
ResourceLoaderTestModulesHook.php:11
MediaWiki\ResourceLoader\Hook\ResourceLoaderTestModulesHook\onResourceLoaderTestModules
onResourceLoaderTestModules(array &$testModules, ResourceLoader $rl)
Use this hook to register ResourceLoader modules that are only available when $wgEnableJavaScriptTest...
MediaWiki\ResourceLoader\Hook
Definition
ResourceLoaderForeignApiModulesHook.php:3
includes
resourceloader
Hook
ResourceLoaderTestModulesHook.php
Generated on Sat Apr 6 2024 00:07:41 for MediaWiki by
1.9.8