CommentLazyBuilders::$currentUser

Same name in other branches
  1. 8.9.x core/modules/comment/src/CommentLazyBuilders.php \Drupal\comment\CommentLazyBuilders::currentUser
  2. 10 core/modules/comment/src/CommentLazyBuilders.php \Drupal\comment\CommentLazyBuilders::currentUser
  3. 11.x core/modules/comment/src/CommentLazyBuilders.php \Drupal\comment\CommentLazyBuilders::currentUser

Current logged in user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/comment/src/CommentLazyBuilders.php, line 47

Class

CommentLazyBuilders
Defines a service for comment #lazy_builder callbacks.

Namespace

Drupal\comment

Code

protected $currentUser;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.