CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Maintenance\GlobalCustomFilter Class Reference

Public Member Functions

 __construct (string $type='filter', array $requiredPlugins=[], array $incompatibleFilters=[], array $applyTo=[ 'text', 'text_search'], array $denyList=[])
 
 filterIsUsable (string $language, array $installedPlugins)
 check to see if the filter is compatible with a given language and set of installed plugins
 

Public Attributes

 $type
 
 $requiredPlugins
 
 $incompatibleFilters
 
 $denyList
 
 $applyTo
 

Member Function Documentation

◆ filterIsUsable()

CirrusSearch\Maintenance\GlobalCustomFilter::filterIsUsable ( string $language,
array $installedPlugins )

check to see if the filter is compatible with a given language and set of installed plugins

Parameters
string$language
string[]$installedPlugins
Returns
bool

The documentation for this class was generated from the following file: