function TableDragTestForm::__construct

Same name and namespace in other branches
  1. 8.9.x core/modules/system/tests/modules/tabledrag_test/src/Form/TableDragTestForm.php \Drupal\tabledrag_test\Form\TableDragTestForm::__construct()
  2. 10 core/modules/system/tests/modules/tabledrag_test/src/Form/TableDragTestForm.php \Drupal\tabledrag_test\Form\TableDragTestForm::__construct()
  3. 11.x core/modules/system/tests/modules/tabledrag_test/src/Form/TableDragTestForm.php \Drupal\tabledrag_test\Form\TableDragTestForm::__construct()

Constructs a TableDragTestForm object.

Parameters

\Drupal\Core\State\StateInterface $state: The state service.

File

core/modules/system/tests/modules/tabledrag_test/src/Form/TableDragTestForm.php, line 28

Class

TableDragTestForm
Provides a form for draggable table testing.

Namespace

Drupal\tabledrag_test\Form

Code

public function __construct(StateInterface $state) {
    $this->state = $state;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.