You are here

protected property ImageFormatter::$currentUser in Drupal 10

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. 9 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;