You are here

public function MaillogController::__construct in Maillog / Mail Developer 8

Constructs a \Drupal\maillog\Controller\MaillogController object.

Parameters

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

File

src/Controller/MaillogController.php, line 29

Class

MaillogController
Primary controler behind the Maillog module.

Namespace

Drupal\maillog\Controller

Code

public function __construct(Connection $database) {
  $this->database = $database;
}