MediaWiki REL1_35
MediaWiki\User\Hook\UserLoadOptionsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\User\Hook\UserLoadOptionsHook:

Public Member Functions

 onUserLoadOptions ( $user, &$options)
 This hook is called when user options/preferences are being loaded from the database.
 

Detailed Description

Stable to implement.

Definition at line 11 of file UserLoadOptionsHook.php.

Member Function Documentation

◆ onUserLoadOptions()

MediaWiki\User\Hook\UserLoadOptionsHook::onUserLoadOptions (   $user,
$options 
)

This hook is called when user options/preferences are being loaded from the database.

Since
1.35
Parameters
User$userUser object
array&$optionsOptions, can be modified.
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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