You are here

protected property ImageFormatter::$currentUser in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php \Drupal\image\Plugin\Field\FieldFormatter\ImageFormatter::currentUser
  2. 10 core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php \Drupal\image\Plugin\Field\FieldFormatter\ImageFormatter::currentUser

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php, line 38

Class

ImageFormatter
Plugin implementation of the 'image' formatter.

Namespace

Drupal\image\Plugin\Field\FieldFormatter

Code

protected $currentUser;