MediaWiki
REL1_35
ResourceLoaderRegisterModulesHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\ResourceLoader\Hook
;
4
5
use
ResourceLoader
;
6
11
interface
ResourceLoaderRegisterModulesHook
{
21
public
function
onResourceLoaderRegisterModules
(
ResourceLoader
$rl ) : void;
22
}
ResourceLoader
ResourceLoader is a loading system for JavaScript and CSS resources.
Definition
ResourceLoader.php:56
MediaWiki\ResourceLoader\Hook\ResourceLoaderRegisterModulesHook
Stable to implement.
Definition
ResourceLoaderRegisterModulesHook.php:11
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 Sat Apr 6 2024 00:07:41 for MediaWiki by
1.9.8