CommentNameConstraintValidator::$context

Same name in other branches
  1. 9 core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php \Drupal\comment\Plugin\Validation\Constraint\CommentNameConstraintValidator::context

Validator 2.5 and upwards compatible execution context.

Type: \Symfony\Component\Validator\Context\ExecutionContextInterface

File

core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php, line 22

Class

CommentNameConstraintValidator
Validates the CommentName constraint.

Namespace

Drupal\comment\Plugin\Validation\Constraint

Code

protected $context;

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