Page MenuHomeWickedGov Phorge

SiteNoticeBeforeHook.php
No OneTemporary

Size
760 B
Referenced Files
None
Subscribers
None

SiteNoticeBeforeHook.php

<?php
namespace MediaWiki\Hook;
use Skin;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SiteNoticeBefore" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface SiteNoticeBeforeHook {
/**
* This hook is called before the sitenotice/anonnotice is composed.
*
* @since 1.35
*
* @param string &$siteNotice HTML returned as the sitenotice
* @param Skin $skin
* @return bool|void True or no return value to continue or false to abort.
* Return true to allow the normal method of notice selection/rendering to work,
* or change the value of $siteNotice and return false to alter it.
*/
public function onSiteNoticeBefore( &$siteNotice, $skin );
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 22:49 (1 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2a/ee/53b7494dce26d863b324c368775d
Default Alt Text
SiteNoticeBeforeHook.php (760 B)

Event Timeline