Page MenuHomeWickedGov Phorge

SpecialContributions__getForm__filtersHook.php
No OneTemporary

Size
944 B
Referenced Files
None
Subscribers
None

SpecialContributions__getForm__filtersHook.php

<?php
namespace MediaWiki\Hook;
use MediaWiki\SpecialPage\ContributionsSpecialPage;
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SpecialContributions::getForm::filters" to register handlers implementing this interface.
*
* This hook is run for any ContributionsSpecialPage, not just SpecialContributions.
*
* @stable to implement
* @ingroup Hooks
*/
interface SpecialContributions__getForm__filtersHook {
/**
* This hook is called with a list of filters to render on Special:Contributions.
*
* @since 1.35
*
* @param ContributionsSpecialPage $sp Special page object, for context
* @param array &$filters List of filter object definitions (compatible with OOUI form)
* @return bool|void True or no return value to continue or false to abort
*/
public function onSpecialContributions__getForm__filters( $sp, &$filters );
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 11:13 (6 d, 7 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fe/fb/5b4682535244d23a2b0eaf782ef0
Default Alt Text
SpecialContributions__getForm__filtersHook.php (944 B)

Event Timeline