public function DblogClearLogForm::__construct in Zircon Profile 8
Same name and namespace in other branches
- 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\FormCode
public function __construct(Connection $connection) {
$this->connection = $connection;
}