MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onChangeUserGroups ( $performer, $user, &$add, &$remove) | |
This hook is called before user groups are changed. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ChangeUserGroups" to register handlers implementing this interface.
Definition at line 14 of file ChangeUserGroupsHook.php.
MediaWiki\Hook\ChangeUserGroupsHook::onChangeUserGroups | ( | $performer, | |
$user, | |||
& | $add, | ||
& | $remove | ||
) |
This hook is called before user groups are changed.
User | $performer | The User who will perform the change |
User | $user | The User whose groups will be changed |
array | &$add | The groups that will be added |
array | &$remove | The groups that will be removed |
Implemented in MediaWiki\HookContainer\HookRunner.