MediaWiki REL1_40
MediaWiki\ResourceLoader\Hook\ResourceLoaderRegisterModulesHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\ResourceLoader\HookRunner.

Public Member Functions

 onResourceLoaderRegisterModules (ResourceLoader $rl)
 This hook is called right before modules information is required, such as when responding to a resource loader request or generating HTML output.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ResourceLoaderRegisterModules" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file ResourceLoaderRegisterModulesHook.php.

Member Function Documentation

◆ onResourceLoaderRegisterModules()

MediaWiki\ResourceLoader\Hook\ResourceLoaderRegisterModulesHook::onResourceLoaderRegisterModules ( ResourceLoader $rl)

This hook is called right before modules information is required, such as when responding to a resource loader request or generating HTML output.

Since
1.35
Parameters
ResourceLoader$rl
Returns
void This hook must not abort, it must return no value

Implemented in MediaWiki\ResourceLoader\HookRunner.


The documentation for this interface was generated from the following file: