Returns the violations generated by the validator so far.
@api
Return value
ConstraintViolationListInterface The constraint violation list.
File
- drupal/core/vendor/symfony/validator/Symfony/Component/Validator/ExecutionContextInterface.php, line 193
Class
- ExecutionContextInterface
- Stores the validator's state during validation.
Namespace
Symfony\Component\Validator
Code
public function getViolations();