InternalViolation::$violation

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Field/InternalViolation.php \Drupal\Core\Field\InternalViolation::violation
  2. 11.x core/lib/Drupal/Core/Field/InternalViolation.php \Drupal\Core\Field\InternalViolation::violation

The violation being wrapped.

Type: \Symfony\Component\Validator\ConstraintViolationInterface

File

core/lib/Drupal/Core/Field/InternalViolation.php, line 27

Class

InternalViolation
Wraps a violation to allow arrayPropertyPath to be deprecated.

Namespace

Drupal\Core\Field

Code

private $violation;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.