You are here

public function DblogClearLogConfirmForm::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/dblog/src/Form/DblogClearLogConfirmForm.php \Drupal\dblog\Form\DblogClearLogConfirmForm::__construct()

Constructs a new DblogClearLogConfirmForm.

Parameters

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

File

core/modules/dblog/src/Form/DblogClearLogConfirmForm.php, line 34
Contains \Drupal\dblog\Form\DblogClearLogConfirmForm.

Class

DblogClearLogConfirmForm
Provides a confirmation form before clearing out the logs.

Namespace

Drupal\dblog\Form

Code

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