MediaWiki REL1_39
UserGroupsChangedHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\User\Hook;
4
5use User;
7
33 public function onUserGroupsChanged(
34 $user,
35 $added,
36 $removed,
37 $performer,
38 $reason,
39 $oldUGMs,
40 $newUGMs
41 );
42}
Represents a "user group membership" – a specific instance of a user belonging to a group.
internal since 1.36
Definition User.php:70
This is a hook handler interface, see docs/Hooks.md.
onUserGroupsChanged( $user, $added, $removed, $performer, $reason, $oldUGMs, $newUGMs)
This hook is called after user groups are changed.