You are here

public function CommentStorage::currentUser in Comment Permissions 8

Get current user.

Return value

\Drupal\Core\Session\AccountInterface Current user session.

File

src/CommentStorage.php, line 128

Class

CommentStorage
Overrides CommentStorage class.

Namespace

Drupal\comment_perm

Code

public function currentUser() {
  return $this->currentUser;
}