MediaWiki  master
ResourceLoader\Hook\ResourceLoaderSiteModulePagesHook Interface Reference

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

Inheritance diagram for ResourceLoader\Hook\ResourceLoaderSiteModulePagesHook:

Public Member Functions

 onResourceLoaderSiteModulePages ( $skin, array &$pages)
 Change which wiki pages comprise the site module in given skin. More...
 

Detailed Description

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

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

Stable to implement

Definition at line 12 of file ResourceLoaderSiteModulePagesHook.php.

Member Function Documentation

◆ onResourceLoaderSiteModulePages()

ResourceLoader\Hook\ResourceLoaderSiteModulePagesHook::onResourceLoaderSiteModulePages (   $skin,
array &  $pages 
)

Change which wiki pages comprise the site module in given skin.

This hook is called from ResourceLoaderSiteModule.

Since
1.35
Parameters
string$skinCurrent skin key
array&$pagesArray of pages and their types
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: