You are here

protected property UserRegistrationResource::$currentUser in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/user/src/Plugin/rest/resource/UserRegistrationResource.php \Drupal\user\Plugin\rest\resource\UserRegistrationResource::currentUser
  2. 10 core/modules/user/src/Plugin/rest/resource/UserRegistrationResource.php \Drupal\user\Plugin\rest\resource\UserRegistrationResource::currentUser

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/user/src/Plugin/rest/resource/UserRegistrationResource.php, line 47

Class

UserRegistrationResource
Represents user registration as a resource.

Namespace

Drupal\user\Plugin\rest\resource

Code

protected $currentUser;