protected function SearchApiGranular::getMinValue in Facets 8
Looks at the configuration for this facet to determine the min value.
Default behaviour an integer for the minimum value of the facets.
Return value
mixed It can be a number or an empty value.
1 call to SearchApiGranular::getMinValue()
- SearchApiGranular::calculateResultFilter in src/
Plugin/ facets/ query_type/ SearchApiGranular.php - Calculate the grouped facet filter for a given value.
File
- src/
Plugin/ facets/ query_type/ SearchApiGranular.php, line 112
Class
- SearchApiGranular
- Basic support for numeric facets grouping by a granularity value.
Namespace
Drupal\facets\Plugin\facets\query_typeCode
protected function getMinValue() {
return $this->facet
->getProcessors()['granularity_item']
->getConfiguration()['min_value'];
}