You are here

protected property FileUploadResource::$currentUser in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/file/src/Plugin/rest/resource/FileUploadResource.php \Drupal\file\Plugin\rest\resource\FileUploadResource::currentUser
  2. 9 core/modules/file/src/Plugin/rest/resource/FileUploadResource.php \Drupal\file\Plugin\rest\resource\FileUploadResource::currentUser

The currently authenticated user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/file/src/Plugin/rest/resource/FileUploadResource.php, line 102

Class

FileUploadResource
File upload resource.

Namespace

Drupal\file\Plugin\rest\resource

Code

protected $currentUser;