The current user.
Type: \Drupal\Core\Session\AccountInterface
File
- core/modules/comment/src/CommentViewBuilder.php, line 24
Class
- CommentViewBuilder
- View builder handler for comments.
Namespace
Drupal\comment
Code
protected $currentUser;
The current user.
Type: \Drupal\Core\Session\AccountInterface
Drupal\comment
protected $currentUser;
Please login to continue.