MediaWiki REL1_35
UserResetAllOptionsHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\User\Hook;
4
5use User;
6
28 public function onUserResetAllOptions(
29 $user,
30 &$newOptions,
31 $options,
32 $resetKinds
33 );
34}
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:60
onUserResetAllOptions( $user, &$newOptions, $options, $resetKinds)
This hook is called when user preferences have been requested to be reset.