MediaWiki  master
ChangeUserGroupsHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use User;
6 
23  public function onChangeUserGroups( $performer, $user, &$add, &$remove );
24 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\ChangeUserGroupsHook
Stable to implement.
Definition: ChangeUserGroupsHook.php:11
MediaWiki\Hook\ChangeUserGroupsHook\onChangeUserGroups
onChangeUserGroups( $performer, $user, &$add, &$remove)
This hook is called before user groups are changed.
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:56