You are here

public function DashboardForm::__construct in Mail Safety 8

DashboardForm constructor.

Parameters

\Drupal\Core\Database\Connection $database: The database connection.

\Drupal\Core\Datetime\DateFormatter $date_formatter: The date formatter.

\Drupal\Core\Extension\ModuleHandler $module_handler: The module handler.

File

src/Form/DashboardForm.php, line 52

Class

DashboardForm
Class DashboardForm.

Namespace

Drupal\mail_safety\Form

Code

public function __construct(Connection $database, DateFormatter $date_formatter, ModuleHandler $module_handler) {
  $this->database = $database;
  $this->dateFormatter = $date_formatter;
  $this->moduleHandler = $module_handler;
}