Page MenuHomeWickedGov Phorge

CheckUserSuggestedInvestigationsGetSignalsHook.php
No OneTemporary

Size
970 B
Referenced Files
None
Subscribers
None

CheckUserSuggestedInvestigationsGetSignalsHook.php

<?php
namespace MediaWiki\CheckUser\Hook;
interface CheckUserSuggestedInvestigationsGetSignalsHook {
/**
* This hook is run when the list of defined Suggested investigation signals is being fetched.
*
* Any signals defined using private code should also hook into this hook to define their signals.
* It is used to generate a list of signals for UI elements where we want the full list of signals
* as opposed to the signals we see in open suggested investigations.
*
* NOTE: Private code handles this hook, so updating it's signature may break code not visible
* in codesearch.
*
* @since 1.45
*
* @param array &$signals The list of signals that are defined. These names should match up with the
* names for the signals as returned by {@link SuggestedInvestigationsSignalMatchResult::getName}.
* Handlers should add signals to this array.
*/
public function onCheckUserSuggestedInvestigationsGetSignals( array &$signals ): void;
}

File Metadata

Mime Type
text/x-php
Expires
Aug 16 2026, 12:47 (11 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
30/70/5efe037651c058d216eb948ee9fb
Default Alt Text
CheckUserSuggestedInvestigationsGetSignalsHook.php (970 B)

Event Timeline