MediaWiki  master
ResourceLoader\Hook\ResourceLoaderSiteStylesModulePagesHook Interface Reference

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

Inheritance diagram for ResourceLoader\Hook\ResourceLoaderSiteStylesModulePagesHook:

Public Member Functions

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

Detailed Description

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

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

Stability: stable
to implement

Definition at line 12 of file ResourceLoaderSiteStylesModulePagesHook.php.

Member Function Documentation

◆ onResourceLoaderSiteStylesModulePages()

ResourceLoader\Hook\ResourceLoaderSiteStylesModulePagesHook::onResourceLoaderSiteStylesModulePages (   $skin,
array &  $pages 
)

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

This hook is called from ResourceLoaderSiteStylesModule.

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: