Page MenuHomeWickedGov Phorge

UserGetAllRightsHook.php
No OneTemporary

Size
581 B
Referenced Files
None
Subscribers
None

UserGetAllRightsHook.php

<?php
namespace MediaWiki\Permissions\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "UserGetAllRights" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface UserGetAllRightsHook {
/**
* This hook is called after calculating a list of all available rights.
*
* @since 1.35
*
* @param string[] &$rights Array of rights, which may be added to
* @return bool|void True or no return value to continue or false to abort
*/
public function onUserGetAllRights( &$rights );
}

File Metadata

Mime Type
text/x-php
Expires
Aug 17 2026, 00:14 (11 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b0/3d/d8d82ad61d62d692c0ab4cedf687
Default Alt Text
UserGetAllRightsHook.php (581 B)

Event Timeline