MediaWiki
REL1_37
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
15
interface
UserGroupsChangedHook
{
33
public
function
onUserGroupsChanged
(
34
$user,
35
$added,
36
$removed,
37
$performer,
38
$reason,
39
$oldUGMs,
40
$newUGMs
41
);
42
}
UserGroupMembership
Represents a "user group membership" – a specific instance of a user belonging to a group.
Definition
UserGroupMembership.php:34
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:69
MediaWiki\User\Hook\UserGroupsChangedHook
This is a hook handler interface, see docs/Hooks.md.
Definition
UserGroupsChangedHook.php:15
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 Fri Apr 5 2024 23:41:04 for MediaWiki by
1.9.8