You are here

protected property ProtectedUserFieldConstraintValidator::$currentUser in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php \Drupal\user\Plugin\Validation\Constraint\ProtectedUserFieldConstraintValidator::currentUser

The current user.

Type: \Drupal\Core\Session\AccountProxyInterface

File

core/modules/user/src/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidator.php, line 33
Contains \Drupal\user\Plugin\Validation\Constraint\ProtectedUserFieldConstraintValidator.

Class

ProtectedUserFieldConstraintValidator
Validates the ProtectedUserFieldConstraint constraint.

Namespace

Drupal\user\Plugin\Validation\Constraint

Code

protected $currentUser;