Current logged in user.
Type: \Drupal\Core\Session\AccountInterface
File
- core/modules/comment/src/CommentLazyBuilders.php, line 45
Class
- CommentLazyBuilders
- Defines a service for comment #lazy_builder callbacks.
Namespace
Drupal\comment
Code
protected $currentUser;
Please login to continue.