MediaWiki
REL1_39
ResourceLoaderExcludeUserOptionsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\ResourceLoader\Hook
;
4
5
use
MediaWiki\ResourceLoader\Context
;
6
14
interface
ResourceLoaderExcludeUserOptionsHook
{
15
36
public
function
onResourceLoaderExcludeUserOptions
( array &$keysToExclude,
Context
$context ): void;
37
}
MediaWiki\ResourceLoader\Context
Context object that contains information about the state of a specific ResourceLoader web request.
Definition
Context.php:46
MediaWiki\ResourceLoader\Hook\ResourceLoaderExcludeUserOptionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ResourceLoaderExcludeUserOptionsHook.php:14
MediaWiki\ResourceLoader\Hook\ResourceLoaderExcludeUserOptionsHook\onResourceLoaderExcludeUserOptions
onResourceLoaderExcludeUserOptions(array &$keysToExclude, Context $context)
Exclude a user option from the preloaded data for client-side mw.user.options.
MediaWiki\ResourceLoader\Hook
Definition
ResourceLoaderExcludeUserOptionsHook.php:3
includes
ResourceLoader
Hook
ResourceLoaderExcludeUserOptionsHook.php
Generated on Mon Nov 25 2024 06:56:30 for MediaWiki by
1.10.0