You are here

public function WidgetPluginBase::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 WidgetPluginInterface::getQueryType

3 methods override WidgetPluginBase::getQueryType()
RangeSliderWidget::getQueryType in modules/facets_range_widget/src/Plugin/facets/widget/RangeSliderWidget.php
Picks the preferred query type for this widget.
WidgetDateQT::getQueryType in tests/facets_custom_widget/src/Plugin/facets/widget/WidgetDateQT.php
Picks the preferred query type for this widget.
WidgetInvalidQT::getQueryType in tests/facets_custom_widget/src/Plugin/facets/widget/WidgetInvalidQT.php
Picks the preferred query type for this widget.

File

src/Widget/WidgetPluginBase.php, line 139

Class

WidgetPluginBase
A base class for widgets that implements most of the boilerplate.

Namespace

Drupal\facets\Widget

Code

public function getQueryType() {
  return NULL;
}