Returns the violations generated by the validator so far.
Return value
ConstraintViolationListInterface A list of constraint violations.
File
- drupal/core/vendor/symfony/validator/Symfony/Component/Validator/GlobalExecutionContextInterface.php, line 37
Class
- GlobalExecutionContextInterface
- Stores the node-independent state of a validation run.
Namespace
Symfony\Component\Validator
Code
public function getViolations();