Extension:CentralNotice/Hooks/CentralNoticeCampaignChange
Appearance
For more information about attaching hooks, see Manual:Hooks.
For examples of other extensions using this hook, see Category:CentralNoticeCampaignChange extensions.
This hook cannot be aborted.
Parameters
[edit]$action: Astring, which represents an action related to a campaign. This can be either'created','modified', or'removed'$time: Astringrepresenting a database timestamp as returned byIDatabase::timestamp()$campaignName: Astringrepresenting the name of the campaign$user: An instance ofUser, representing the user causing the change to the campaign$settingsBeforeChanges: Anarrayrepresenting the campaign settings before changes, as returned byCampaign::processSettingsForHook(a private static method)$settingsAfterChanges: Anarrayrepresenting the campaign settings after changes, as returned byCampaign::processSettingsForHook(a private static method)$summary: Represents astringif a user gave a change summary, ornullif the user did not.