MediaWiki REL1_41
MediaWiki\User\Hook\UserSaveSettingsHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onUserSaveSettings ( $user)
 This hook is called directly after user settings 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 settings have been saved to the database.

Compare to the SaveUserOptions hook, which is called before saving and is only called for options managed by UserOptionsManager.

Since
1.35
Parameters
User$userThe User for which the settings 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: