You are here

protected property NodeViewController::$currentUser in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/node/src/Controller/NodeViewController.php \Drupal\node\Controller\NodeViewController::currentUser

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/node/src/Controller/NodeViewController.php, line 23

Class

NodeViewController
Defines a controller to render a single node.

Namespace

Drupal\node\Controller

Code

protected $currentUser;