Current user.
Type: \Drupal\Core\Session\AccountInterface
File
- core/modules/comment/src/CommentLinkBuilder.php, line 29
Class
- CommentLinkBuilder
- Defines a class for building markup for comment links on a commented entity.
Namespace
Drupal\comment
Code
protected $currentUser;
Please login to continue.