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
Sat, May 16, 17:14 (9 h, 10 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5f/2c/b474b6af8e744c14a49c7c7d8dcb
Default Alt Text
UserGetAllRightsHook.php (581 B)

Event Timeline