MediaWiki
REL1_37
ResourceLoaderTestModulesHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\ResourceLoader\Hook
;
4
5
use
ResourceLoader
;
6
14
interface
ResourceLoaderTestModulesHook
{
33
public
function
onResourceLoaderTestModules
( array &$testModules,
ResourceLoader
$rl ): void;
34
}
ResourceLoader
ResourceLoader is a loading system for JavaScript and CSS resources.
Definition
ResourceLoader.php:58
MediaWiki\ResourceLoader\Hook\ResourceLoaderTestModulesHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ResourceLoaderTestModulesHook.php:14
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 Fri Apr 5 2024 23:40:44 for MediaWiki by
1.9.8