Page MenuHomeWickedGov Phorge

CentralNoticeHookRunner.php
No OneTemporary

Size
717 B
Referenced Files
None
Subscribers
None

CentralNoticeHookRunner.php

<?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

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)

Event Timeline