LinkAccessConstraintValidator::$current_user

Same name in other branches
  1. 8.9.x core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php \Drupal\link\Plugin\Validation\Constraint\LinkAccessConstraintValidator::current_user
  2. 10 core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php \Drupal\link\Plugin\Validation\Constraint\LinkAccessConstraintValidator::current_user
  3. 11.x core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php \Drupal\link\Plugin\Validation\Constraint\LinkAccessConstraintValidator::current_user

Proxy for the current user account.

Type: \Drupal\Core\Session\AccountProxyInterface

File

core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php, line 21

Class

LinkAccessConstraintValidator
Validates the LinkAccess constraint.

Namespace

Drupal\link\Plugin\Validation\Constraint

Code

protected $current_user;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.