You are here

protected property ConsentWidget::$currentUser in General Data Protection Regulation 8

Same name and namespace in other branches
  1. 8.2 modules/gdpr_consent/src/Plugin/Field/FieldWidget/ConsentWidget.php \Drupal\gdpr_consent\Plugin\Field\FieldWidget\ConsentWidget::currentUser
  2. 3.0.x modules/gdpr_consent/src/Plugin/Field/FieldWidget/ConsentWidget.php \Drupal\gdpr_consent\Plugin\Field\FieldWidget\ConsentWidget::currentUser

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

modules/gdpr_consent/src/Plugin/Field/FieldWidget/ConsentWidget.php, line 43

Class

ConsentWidget
Plugin implementation of the 'gdpr_consent_widget' widget.

Namespace

Drupal\gdpr_consent\Plugin\Field\FieldWidget

Code

protected $currentUser;