You are here

protected function SearchApiDate::getDateFormat in Facets 8

Retrieve configuration: Date display format.

Return value

string Returns the format.

1 call to SearchApiDate::getDateFormat()
SearchApiDate::calculateResultFilterAbsolute in src/Plugin/facets/query_type/SearchApiDate.php

File

src/Plugin/facets/query_type/SearchApiDate.php, line 437

Class

SearchApiDate
Support for date facets within the Search API scope.

Namespace

Drupal\facets\Plugin\facets\query_type

Code

protected function getDateFormat() {
  return $this
    ->getConfiguration()['date_format'];
}