protected property LikeDislikeFormatter::$currentUser in Like/Dislike 8
The current user.
Type: \Drupal\Core\Session\AccountInterface
File
- src/
Plugin/ Field/ FieldFormatter/ LikeDislikeFormatter.php, line 33
Class
- LikeDislikeFormatter
- Plugin implementation of the 'like_dislike_formatter' formatter.
Namespace
Drupal\like_dislike\Plugin\Field\FieldFormatterCode
protected $currentUser;