MediaWiki
REL1_39
ResourceLoaderGetConfigVarsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\ResourceLoader\Hook
;
4
5
use
Config
;
6
14
interface
ResourceLoaderGetConfigVarsHook
{
30
public
function
onResourceLoaderGetConfigVars
( array &$vars, $skin,
Config
$config ): void;
31
}
Config
Interface for configuration instances.
Definition
Config.php:30
MediaWiki\ResourceLoader\Hook\ResourceLoaderGetConfigVarsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ResourceLoaderGetConfigVarsHook.php:14
MediaWiki\ResourceLoader\Hook\ResourceLoaderGetConfigVarsHook\onResourceLoaderGetConfigVars
onResourceLoaderGetConfigVars(array &$vars, $skin, Config $config)
Export static site-wide mw.config variables to JavaScript.
MediaWiki\ResourceLoader\Hook
Definition
ResourceLoaderExcludeUserOptionsHook.php:3
includes
ResourceLoader
Hook
ResourceLoaderGetConfigVarsHook.php
Generated on Sun Nov 24 2024 20:24:01 for MediaWiki by
1.10.0