Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3/**
4 * This is a hook handler interface, see docs/Hooks.md in core.
5 * Use the hook name "CentralNoticeCampaignChange" to register handlers implementing this interface.
6 *
7 * @stable to implement
8 * @ingroup Hooks
9 */
10interface CentralNoticeCampaignChangeHook {
11    /**
12     * @param string $action 'created', 'modified', or 'removed'
13     * @param string $time Database depending timestamp of the modification
14     * @param string $campaignName Name of the campaign
15     * @param User $user User causing the change
16     * @param array $beginSettings array of campaign settings before changes
17     * @param array $endSettings array of campaign settings after changes
18     * @param string $summary Change summary provided by the user
19     */
20    public function onCentralNoticeCampaignChange(
21        $action,
22        $time,
23        $campaignName,
24        $user,
25        $beginSettings,
26        $endSettings,
27        $summary
28    ): void;
29}