MediaWiki master
UserPrivilegedGroupsHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\User\Hook;
4
6
24 public function onUserPrivilegedGroups( UserIdentity $userIdentity, array &$groups );
25}
This is a hook handler interface, see docs/Hooks.md.
onUserPrivilegedGroups(UserIdentity $userIdentity, array &$groups)
This hook is called in UserGroupManager::getUserPrivilegedGroups().
Interface for objects representing user identity.