MediaWiki REL1_35
MediaWiki\User\Hook\UserSaveSettingsHook Interface Reference

Stable to implement. 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

Stable to implement.

Definition at line 11 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: