function ExecutionContextInterface::getViolations
Returns the violations generated by the validator so far.
2 methods override ExecutionContextInterface::getViolations()
- ExecutionContext::getViolations in core/
lib/ Drupal/ Core/ Validation/ ExecutionContext.php - Returns the violations generated by the validator so far.
- ExecutionContext::getViolations in vendor/
symfony/ validator/ Context/ ExecutionContext.php - Returns the violations generated by the validator so far.
File
-
vendor/
symfony/ validator/ Context/ ExecutionContextInterface.php, line 194
Class
- ExecutionContextInterface
- The context of a validation run.
Namespace
Symfony\Component\Validator\ContextCode
public function getViolations() : ConstraintViolationListInterface;