public function GlossaryAZWidget::getQueryType in Search API AZ Glossary 8
Same name and namespace in other branches
- 8.4 src/Plugin/facets/widget/GlossaryAZWidget.php \Drupal\search_api_glossary\Plugin\facets\widget\GlossaryAZWidget::getQueryType()
- 8.2 src/Plugin/facets/widget/GlossaryAZWidget.php \Drupal\search_api_glossary\Plugin\facets\widget\GlossaryAZWidget::getQueryType()
- 8.3 src/Plugin/facets/widget/GlossaryAZWidget.php \Drupal\search_api_glossary\Plugin\facets\widget\GlossaryAZWidget::getQueryType()
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
- src/
Plugin/ facets/ widget/ GlossaryAZWidget.php, line 157
Class
- GlossaryAZWidget
- The GlossaryAZ widget.
Namespace
Drupal\search_api_glossary\Plugin\facets\widgetCode
public function getQueryType(array $query_types) {
return $query_types['string'];
}