You are here

public function ProcessorPluginBase::getQueryType in Facets 8

Picks the preferred query type for this widget.

Return value

string|null The query type machine name to load or NULL to load the default query type.

Overrides ProcessorInterface::getQueryType

4 methods override ProcessorPluginBase::getQueryType()
DateItemProcessor::getQueryType in src/Plugin/facets/processor/DateItemProcessor.php
Picks the preferred query type for this widget.
GranularItemProcessor::getQueryType in src/Plugin/facets/processor/GranularItemProcessor.php
Picks the preferred query type for this widget.
InvalidQT::getQueryType in tests/facets_custom_widget/src/Plugin/facets/processor/InvalidQT.php
Picks the preferred query type for this widget.
TestPreQuery::getQueryType in tests/facets_custom_widget/src/Plugin/facets/processor/TestPreQuery.php
Picks the preferred query type for this widget.

File

src/Processor/ProcessorPluginBase.php, line 120

Class

ProcessorPluginBase
A base class for plugins that implements most of the boilerplate.

Namespace

Drupal\facets\Processor

Code

public function getQueryType() {
  return NULL;
}