MediaWiki
REL1_39
UserPrivilegedGroupsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\User\Hook
;
4
5
use
MediaWiki\User\UserIdentity
;
6
14
interface
UserPrivilegedGroupsHook
{
24
public
function
onUserPrivilegedGroups
(
UserIdentity
$userIdentity, array &$groups );
25
}
MediaWiki\User\Hook\UserPrivilegedGroupsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
UserPrivilegedGroupsHook.php:14
MediaWiki\User\Hook\UserPrivilegedGroupsHook\onUserPrivilegedGroups
onUserPrivilegedGroups(UserIdentity $userIdentity, array &$groups)
This hook is called in UserGroupManager::getUserPrivilegedGroups().
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\User\Hook
Definition
AutopromoteConditionHook.php:3
includes
user
Hook
UserPrivilegedGroupsHook.php
Generated on Thu Nov 21 2024 05:24:31 for MediaWiki by
1.10.0