RecursiveContextualValidator::getViolations

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();
}
doc_Drupal
2016-10-29 09:36:46
Comments
Leave a Comment

Please login to continue.