function DbtngExampleAddForm::__construct
Construct the new form object.
File
-
modules/
dbtng_example/ src/ Form/ DbtngExampleAddForm.php, line 61
Class
- DbtngExampleAddForm
- Form to add a database entry, with all the interesting fields.
Namespace
Drupal\dbtng_example\FormCode
public function __construct(DbtngExampleRepository $repository, AccountProxyInterface $current_user) {
$this->repository = $repository;
$this->currentUser = $current_user;
}