FileRepository::$currentUser

Same name in other branches
  1. 9 core/modules/file/src/FileRepository.php \Drupal\file\FileRepository::currentUser
  2. 10 core/modules/file/src/FileRepository.php \Drupal\file\FileRepository::currentUser

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/file/src/FileRepository.php, line 60

Class

FileRepository
Provides a file entity repository.

Namespace

Drupal\file

Code

protected $currentUser;

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