MediaWiki REL1_37
MediaWiki\User\Hook\UserSaveSettingsHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\User\Hook\UserSaveSettingsHook:

Public Member Functions

 onUserSaveSettings ( $user)
 This hook is called directly after user preferences have been saved to the database.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "UserSaveSettings" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file UserSaveSettingsHook.php.

Member Function Documentation

◆ onUserSaveSettings()

MediaWiki\User\Hook\UserSaveSettingsHook::onUserSaveSettings (   $user)

This hook is called directly after user preferences have been saved to the database.

Compare to the UserSaveOptions hook, which is called before saving.

Since
1.35
Parameters
User$userThe User for which the options have been saved
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: