protected function SearchApiDate::getDateDisplay in Facets 8
Retrieve configuration: Date Display type.
Return value
string Returns the display mode..
2 calls to SearchApiDate::getDateDisplay()
- SearchApiDate::calculateRange in src/
Plugin/ facets/ query_type/ SearchApiDate.php - Calculate the range for a given facet filter value.
- SearchApiDate::calculateResultFilter in src/
Plugin/ facets/ query_type/ SearchApiDate.php - Calculates the result of the filter.
File
- src/
Plugin/ facets/ query_type/ SearchApiDate.php, line 427
Class
- SearchApiDate
- Support for date facets within the Search API scope.
Namespace
Drupal\facets\Plugin\facets\query_typeCode
protected function getDateDisplay() {
return $this
->getConfiguration()['date_display'];
}