function DblogClearLogConfirmForm::__construct
Same name in other branches
- 8.9.x core/modules/dblog/src/Form/DblogClearLogConfirmForm.php \Drupal\dblog\Form\DblogClearLogConfirmForm::__construct()
- 10 core/modules/dblog/src/Form/DblogClearLogConfirmForm.php \Drupal\dblog\Form\DblogClearLogConfirmForm::__construct()
- 11.x 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 31
Class
- DblogClearLogConfirmForm
- Provides a confirmation form before clearing out the logs.
Namespace
Drupal\dblog\FormCode
public function __construct(Connection $connection) {
$this->connection = $connection;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.