You are here

public function DblogClearLogForm::__construct in Zircon Profile 8

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

Constructs a new DblogClearLogForm.

Parameters

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

File

core/modules/dblog/src/Form/DblogClearLogForm.php, line 33
Contains \Drupal\dblog\Form\DblogClearLogForm.

Class

DblogClearLogForm
Provides the form that clears out the log.

Namespace

Drupal\dblog\Form

Code

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