public RecursiveContextualValidator::getViolations()
Returns the violations that have been generated so far in the context of the validator.
Return value
ConstraintViolationListInterface The constraint violations
Overrides ContextualValidatorInterface::getViolations
File
- core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php, line 192
Class
- RecursiveContextualValidator
- Defines a recursive contextual validator for Typed Data.
Namespace
Drupal\Core\TypedData\Validation
Code
public function getViolations() { return $this->context->getViolations(); }
Please login to continue.