MediaWiki
REL1_37
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
ResourceLoaderForeignApiModulesHook.php:3
includes
resourceloader
Hook
ResourceLoaderGetConfigVarsHook.php
Generated on Fri Apr 5 2024 23:40:44 for MediaWiki by
1.9.8