function TableDragExampleNestedForm::__construct
Same name in other branches
- 3.x modules/tabledrag_example/src/Form/TableDragExampleNestedForm.php \Drupal\tabledrag_example\Form\TableDragExampleNestedForm::__construct()
Construct a form.
Parameters
\Drupal\Core\Database\Connection $database: The database connection.
\Drupal\Core\Render\RendererInterface $render: The renderer.
File
-
modules/
tabledrag_example/ src/ Form/ TableDragExampleNestedForm.php, line 50
Class
- TableDragExampleNestedForm
- Table drag example nested form.
Namespace
Drupal\tabledrag_example\FormCode
public function __construct(Connection $database, RendererInterface $render) {
$this->database = $database;
$this->render = $render;
}