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\ControllerCode
public function __construct(Connection $database) {
$this->database = $database;
}