The current user.
Type: \Drupal\Core\Session\AccountInterface
File
- core/lib/Drupal/Core/Form/FormBuilder.php, line 77
Class
- FormBuilder
- Provides form building and processing.
Namespace
Drupal\Core\Form
Code
protected $currentUser;
The current user.
Type: \Drupal\Core\Session\AccountInterface
Drupal\Core\Form
protected $currentUser;
Please login to continue.