Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5975715
UserPrivilegedGroupsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
748 B
Referenced Files
None
Subscribers
None
UserPrivilegedGroupsHook.php
View Options
<?php
namespace
MediaWiki\User\Hook
;
use
MediaWiki\User\UserIdentity
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UserPrivilegedGroups" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
UserPrivilegedGroupsHook
{
/**
* This hook is called in UserGroupManager::getUserPrivilegedGroups().
*
* @since 1.41 (also backported to 1.39.5 and 1.40.1)
*
* @param UserIdentity $userIdentity User identity to get groups for
* @param string[] &$groups Current privileged groups
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onUserPrivilegedGroups
(
UserIdentity
$userIdentity
,
array
&
$groups
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 18:28 (3 h, 10 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7f/d2/c58d68e92a93eae4752360968090
Default Alt Text
UserPrivilegedGroupsHook.php (748 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment