Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1430243
UserGetRightsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
620 B
Referenced Files
None
Subscribers
None
UserGetRightsHook.php
View Options
<?php
namespace
MediaWiki\Permissions\Hook
;
use
MediaWiki\User\User
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UserGetRights" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
UserGetRightsHook
{
/**
* This hook is called in PermissionManager::getUserPermissions().
*
* @since 1.35
*
* @param User $user User to get rights for
* @param string[] &$rights Current rights
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onUserGetRights
(
$user
,
&
$rights
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 18:33 (5 h, 52 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a0/4d/4f0d3be3a8f448329762f642ca5a
Default Alt Text
UserGetRightsHook.php (620 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment