You are here

protected property ModerationStateWidget::$currentUser in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldWidget/ModerationStateWidget.php \Drupal\workbench_moderation\Plugin\Field\FieldWidget\ModerationStateWidget::currentUser

Current user service.

Type: \Drupal\Core\Session\AccountInterface

File

src/Plugin/Field/FieldWidget/ModerationStateWidget.php, line 37

Class

ModerationStateWidget
Plugin implementation of the 'moderation_state_default' widget.

Namespace

Drupal\workbench_moderation\Plugin\Field\FieldWidget

Code

protected $currentUser;