CommentLazyBuilders::$currentUser
Same name in other branches
- 8.9.x core/modules/comment/src/CommentLazyBuilders.php \Drupal\comment\CommentLazyBuilders::currentUser
- 10 core/modules/comment/src/CommentLazyBuilders.php \Drupal\comment\CommentLazyBuilders::currentUser
- 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\commentCode
protected $currentUser;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.