MediaWiki  master
MediaWiki\Skins\Hook\SkinPageReadyConfigHook Interface Reference

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

Inheritance diagram for MediaWiki\Skins\Hook\SkinPageReadyConfigHook:

Public Member Functions

 onSkinPageReadyConfig (ResourceLoaderContext $context, array &$config)
 Allows skins to change the mediawiki.page.ready module configuration. More...
 

Detailed Description

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

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

Stable for implementation

Definition at line 13 of file SkinPageReadyConfigHook.php.

Member Function Documentation

◆ onSkinPageReadyConfig()

MediaWiki\Skins\Hook\SkinPageReadyConfigHook::onSkinPageReadyConfig ( ResourceLoaderContext  $context,
array &  $config 
)

Allows skins to change the mediawiki.page.ready module configuration.

Since
1.36
Parameters
ResourceLoaderContext$context
mixed[]&$configAssociative array of configurable options
Returns
void This hook must not abort, it must return no value

Implemented in MediaWiki\HookContainer\HookRunner.


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