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\ConstraintCode
protected $context;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.