MediaWiki
REL1_35
UserGroupsChangedHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\User\Hook
;
4
5
use
User
;
6
use
UserGroupMembership
;
7
12
interface
UserGroupsChangedHook
{
30
public
function
onUserGroupsChanged
(
31
$user,
32
$added,
33
$removed,
34
$performer,
35
$reason,
36
$oldUGMs,
37
$newUGMs
38
);
39
}
UserGroupMembership
Represents a "user group membership" – a specific instance of a user belonging to a group.
Definition
UserGroupMembership.php:37
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
MediaWiki\User\Hook\UserGroupsChangedHook
Stable to implement.
Definition
UserGroupsChangedHook.php:12
MediaWiki\User\Hook\UserGroupsChangedHook\onUserGroupsChanged
onUserGroupsChanged( $user, $added, $removed, $performer, $reason, $oldUGMs, $newUGMs)
This hook is called after user groups are changed.
MediaWiki\User\Hook
Definition
AutopromoteConditionHook.php:3
includes
user
Hook
UserGroupsChangedHook.php
Generated on Sat Apr 6 2024 00:08:05 for MediaWiki by
1.9.8