function DbtngExampleUpdateForm::__construct
Same name in other branches
- 8.x-1.x dbtng_example/src/Form/DbtngExampleUpdateForm.php \Drupal\dbtng_example\Form\DbtngExampleUpdateForm::__construct()
- 4.0.x modules/dbtng_example/src/Form/DbtngExampleUpdateForm.php \Drupal\dbtng_example\Form\DbtngExampleUpdateForm::__construct()
Construct the new form object.
File
-
modules/
dbtng_example/ src/ Form/ DbtngExampleUpdateForm.php, line 44
Class
- DbtngExampleUpdateForm
- Sample UI to update a record.
Namespace
Drupal\dbtng_example\FormCode
public function __construct(DbtngExampleRepository $repository) {
$this->repository = $repository;
}