MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onGetPreferences ( $user, &$preferences) | |
Use this hook to modify user preferences. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "GetPreferences" to register handlers implementing this interface.
Definition at line 14 of file GetPreferencesHook.php.
MediaWiki\Preferences\Hook\GetPreferencesHook::onGetPreferences | ( | $user, | |
& | $preferences ) |
Use this hook to modify user preferences.
User | $user | User whose preferences are being modified |
array | &$preferences | Preferences description array, to be fed to an HTMLForm object |
Implemented in MediaWiki\HookContainer\HookRunner.