FileUpload::$currentUser

Same name in other branches
  1. 8.9.x core/modules/jsonapi/src/Controller/FileUpload.php \Drupal\jsonapi\Controller\FileUpload::currentUser

The current user making the request.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/jsonapi/src/Controller/FileUpload.php, line 49

Class

FileUpload
Handles file upload requests.

Namespace

Drupal\jsonapi\Controller

Code

protected $currentUser;

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