MediaWiki master
ResourceLoaderExcludeUserOptionsHook.php
Go to the documentation of this file.
1<?php
2
4
6
15
36 public function onResourceLoaderExcludeUserOptions( array &$keysToExclude, Context $context ): void;
37}
Context object that contains information about the state of a specific ResourceLoader web request.
Definition Context.php:45
onResourceLoaderExcludeUserOptions(array &$keysToExclude, Context $context)
Exclude a user option from the preloaded data for client-side mw.user.options.