MediaWiki
REL1_35
GetPreferencesHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Preferences\Hook
;
4
5
use
User
;
6
11
interface
GetPreferencesHook
{
21
public
function
onGetPreferences
( $user, &$preferences );
22
}
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
MediaWiki\Preferences\Hook\GetPreferencesHook
Stable to implement.
Definition
GetPreferencesHook.php:11
MediaWiki\Preferences\Hook\GetPreferencesHook\onGetPreferences
onGetPreferences( $user, &$preferences)
Use this hook to modify user preferences.
MediaWiki\Preferences\Hook
Definition
GetPreferencesHook.php:3
includes
preferences
Hook
GetPreferencesHook.php
Generated on Sat Apr 6 2024 00:07:39 for MediaWiki by
1.9.8