function TableDragExampleResetForm::__construct

Same name in other branches
  1. 3.x modules/tabledrag_example/src/Form/TableDragExampleResetForm.php \Drupal\tabledrag_example\Form\TableDragExampleResetForm::__construct()
  2. 4.0.x modules/tabledrag_example/src/Form/TableDragExampleResetForm.php \Drupal\tabledrag_example\Form\TableDragExampleResetForm::__construct()

Construct a form.

Parameters

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

File

tabledrag_example/src/Form/TableDragExampleResetForm.php, line 39

Class

TableDragExampleResetForm
Table drag example reset form.

Namespace

Drupal\tabledrag_example\Form

Code

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