MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
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.