You are here

public function DashboardForm::__construct in Opigno statistics 8

Same name and namespace in other branches
  1. 3.x src/Form/DashboardForm.php \Drupal\opigno_statistics\Form\DashboardForm::__construct()

DashboardForm constructor.

File

src/Form/DashboardForm.php, line 52

Class

DashboardForm
Implements the statistics dashboard.

Namespace

Drupal\opigno_statistics\Form

Code

public function __construct(Connection $database, TimeInterface $time, DateFormatterInterface $date_formatter) {
  $this->database = $database;
  $this->time = $time;
  $this->date_formatter = $date_formatter;
}