You are here

protected property NodeForm::$currentUser in Drupal 9

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

The Current User object.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/node/src/NodeForm.php, line 34

Class

NodeForm
Form handler for the node edit forms.

Namespace

Drupal\node

Code

protected $currentUser;