UserRegistrationResource::$currentUser
Same name in other branches
- 8.9.x core/modules/user/src/Plugin/rest/resource/UserRegistrationResource.php \Drupal\user\Plugin\rest\resource\UserRegistrationResource::currentUser
- 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\resourceCode
protected $currentUser;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.