DbtngExampleAddForm::$currentUser
Same name in other branches
- 4.0.x modules/dbtng_example/src/Form/DbtngExampleAddForm.php \Drupal\dbtng_example\Form\DbtngExampleAddForm::currentUser
The current user.
We'll need this service in order to check if the user is logged in.
Type: \Drupal\Core\Session\AccountProxyInterface
File
-
modules/
dbtng_example/ src/ Form/ DbtngExampleAddForm.php, line 38
Class
- DbtngExampleAddForm
- Form to add a database entry, with all the interesting fields.
Namespace
Drupal\dbtng_example\FormCode
protected $currentUser;