Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7406770
SidebarBeforeOutputHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
856 B
Referenced Files
None
Subscribers
None
SidebarBeforeOutputHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Skin\Skin
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SidebarBeforeOutput" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SidebarBeforeOutputHook
{
/**
* Use this hook to edit the sidebar just before it is output by skins.
* Warning: This hook is run on each display. You should consider using
* 'SkinBuildSidebar', which is aggressively cached.
*
* @since 1.35
*
* @param Skin $skin
* @param array &$sidebar Sidebar content. Modify $sidebar to add or modify sidebar portlets.
* See {@link Skin::buildSidebar()} for the structure of $sidebar.
* @return void This hook must not abort; it must not return value.
*/
public
function
onSidebarBeforeOutput
(
$skin
,
&
$sidebar
):
void
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 20:36 (1 d, 10 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
80/ca/32952c6bc560c75db80540771abd
Default Alt Text
SidebarBeforeOutputHook.php (856 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment