You are here

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

File

tests/facets_custom_widget/src/Plugin/facets/widget/WidgetDateQT.php, line 21

Class

WidgetDateQT
Test widget.

Namespace

Drupal\facets_custom_widget\Plugin\facets\widget

Code

public function getQueryType() {
  return 'date';
}