You are here

public function TableDragExampleNestedForm::__construct in Examples for Developers 8

Same name and namespace in other branches
  1. 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

tabledrag_example/src/Form/TableDragExampleNestedForm.php, line 50

Class

TableDragExampleNestedForm
Table drag example nested form.

Namespace

Drupal\tabledrag_example\Form

Code

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