public function ExecutionContext::getViolations in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/validator/ExecutionContext.php \Symfony\Component\Validator\ExecutionContext::getViolations()
- 8 vendor/symfony/validator/Context/ExecutionContext.php \Symfony\Component\Validator\Context\ExecutionContext::getViolations()
- 8 core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php \Drupal\Core\TypedData\Validation\ExecutionContext::getViolations()
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/ExecutionContext.php \Symfony\Component\Validator\ExecutionContext::getViolations()
Returns the violations generated by the validator so far.
Return value
ConstraintViolationListInterface The constraint violation list.
Overrides ExecutionContextInterface::getViolations
File
- vendor/
symfony/ validator/ ExecutionContext.php, line 143
Class
- ExecutionContext
- Default implementation of {@link ExecutionContextInterface}.
Namespace
Symfony\Component\ValidatorCode
public function getViolations() {
return $this->globalContext
->getViolations();
}