The current user.
Type: \Drupal\Core\Session\AccountInterface
File
- core/modules/comment/src/CommentStorage.php, line 29
Class
- CommentStorage
- Defines the storage handler class for comments.
Namespace
Drupal\comment
Code
protected $currentUser;
The current user.
Type: \Drupal\Core\Session\AccountInterface
Drupal\comment
protected $currentUser;
Please login to continue.