MediaWiki  master
ResourceLoader\Hook\ResourceLoaderRegisterModulesHook Interface Reference

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

Inheritance diagram for ResourceLoader\Hook\ResourceLoaderRegisterModulesHook:

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. More...
 

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()

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 ResourceLoader\HookRunner.


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