You are here

public function DbtngExampleUpdateForm::__construct in Examples for Developers 8

Same name and namespace in other branches
  1. 3.x modules/dbtng_example/src/Form/DbtngExampleUpdateForm.php \Drupal\dbtng_example\Form\DbtngExampleUpdateForm::__construct()

Construct the new form object.

File

dbtng_example/src/Form/DbtngExampleUpdateForm.php, line 44

Class

DbtngExampleUpdateForm
Sample UI to update a record.

Namespace

Drupal\dbtng_example\Form

Code

public function __construct(DbtngExampleRepository $repository) {
  $this->repository = $repository;
}