FileUploadResource::$currentUser

Same name in other branches
  1. 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 101

Class

FileUploadResource
File upload resource.

Namespace

Drupal\file\Plugin\rest\resource

Code

protected $currentUser;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.