MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onUserPrivilegedGroups (UserIdentity $userIdentity, array &$groups) | |
This hook is called in UserGroupManager::getUserPrivilegedGroups(). | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UserPrivilegedGroups" to register handlers implementing this interface.
Definition at line 14 of file UserPrivilegedGroupsHook.php.
MediaWiki\User\Hook\UserPrivilegedGroupsHook::onUserPrivilegedGroups | ( | UserIdentity | $userIdentity, |
array & | $groups ) |
This hook is called in UserGroupManager::getUserPrivilegedGroups().
UserIdentity | $userIdentity | User identity to get groups for |
string[] | &$groups | Current privileged groups |