You are here

public function FacetsDateHandler::__construct in Facets 8

FacetsDateHandler constructor.

Parameters

\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatting service.

File

src/Utility/FacetsDateHandler.php, line 75

Class

FacetsDateHandler
Dates Handler service.

Namespace

Drupal\facets\Utility

Code

public function __construct(DateFormatterInterface $date_formatter) {
  $this->dateFormatter = $date_formatter;
}