Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F2752668
CentralNoticeHookRunner.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
717 B
Referenced Files
None
Subscribers
None
CentralNoticeHookRunner.php
View Options
<?php
use
MediaWiki\HookContainer\HookContainer
;
/**
* This is a hook runner class, see docs/Hooks.md in core.
* @internal
*/
class
CentralNoticeHookRunner
implements
CentralNoticeCampaignChangeHook
{
private
HookContainer
$hookContainer
;
public
function
__construct
(
HookContainer
$hookContainer
)
{
$this
->
hookContainer
=
$hookContainer
;
}
/**
* @inheritDoc
*/
public
function
onCentralNoticeCampaignChange
(
$action
,
$time
,
$campaignName
,
$user
,
$beginSettings
,
$endSettings
,
$summary
):
void
{
$this
->
hookContainer
->
run
(
'CentralNoticeCampaignChange'
,
[
$action
,
$time
,
$campaignName
,
$user
,
$beginSettings
,
$endSettings
,
$summary
],
[
'abortable'
=>
false
]
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Jul 3, 20:15 (1 d, 15 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e8/95/78efde0f4f74af76823d6cfb6055
Default Alt Text
CentralNoticeHookRunner.php (717 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment