You are here

protected property CommentForm::$currentUser in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/comment/src/CommentForm.php \Drupal\comment\CommentForm::currentUser
  2. 9 core/modules/comment/src/CommentForm.php \Drupal\comment\CommentForm::currentUser

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/comment/src/CommentForm.php, line 34

Class

CommentForm
Base handler for comment forms.

Namespace

Drupal\comment

Code

protected $currentUser;