You are here

protected property UserRegistrationResource::$currentUser in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/user/src/Plugin/rest/resource/UserRegistrationResource.php \Drupal\user\Plugin\rest\resource\UserRegistrationResource::currentUser
  2. 9 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;