MediaWiki
REL1_37
ResourceLoaderRegisterModulesHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\ResourceLoader\Hook
;
4
5
use
ResourceLoader
;
6
14
interface
ResourceLoaderRegisterModulesHook
{
24
public
function
onResourceLoaderRegisterModules
(
ResourceLoader
$rl ): void;
25
}
ResourceLoader
ResourceLoader is a loading system for JavaScript and CSS resources.
Definition
ResourceLoader.php:58
MediaWiki\ResourceLoader\Hook\ResourceLoaderRegisterModulesHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ResourceLoaderRegisterModulesHook.php:14
MediaWiki\ResourceLoader\Hook\ResourceLoaderRegisterModulesHook\onResourceLoaderRegisterModules
onResourceLoaderRegisterModules(ResourceLoader $rl)
This hook is called right before modules information is required, such as when responding to a resour...
MediaWiki\ResourceLoader\Hook
Definition
ResourceLoaderForeignApiModulesHook.php:3
includes
resourceloader
Hook
ResourceLoaderRegisterModulesHook.php
Generated on Fri Apr 5 2024 23:40:44 for MediaWiki by
1.9.8