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
3namespace MediaWiki\Hook;
4
5use MediaWiki\Title\Title;
6use MediaWiki\User\User;
7use RecentChange;
8
9/**
10 * This is a hook handler interface, see docs/Hooks.md.
11 * Use the hook name "AbortEmailNotification" to register handlers implementing this interface.
12 *
13 * @stable to implement
14 * @ingroup Hooks
15 */
16interface AbortEmailNotificationHook {
17    /**
18     * Use this hook to cancel email notifications for an edit.
19     *
20     * @since 1.35
21     *
22     * @param User $editor User who made the change
23     * @param Title $title Title of the page that was edited
24     * @param RecentChange $rc Current RecentChange object
25     * @return bool|void True or no return value to continue or false to abort
26     */
27    public function onAbortEmailNotification( $editor, $title, $rc );
28}