EntityValidationException::$violations

Same name in other branches
  1. 9 core/modules/migrate/src/Exception/EntityValidationException.php \Drupal\migrate\Exception\EntityValidationException::violations
  2. 8.9.x core/modules/migrate/src/Exception/EntityValidationException.php \Drupal\migrate\Exception\EntityValidationException::violations
  3. 11.x core/modules/migrate/src/Exception/EntityValidationException.php \Drupal\migrate\Exception\EntityValidationException::violations

The list of violations generated during the entity validation.

Type: \Drupal\Core\Entity\EntityConstraintViolationListInterface

File

core/modules/migrate/src/Exception/EntityValidationException.php, line 32

Class

EntityValidationException
To throw when an entity generated during the import is not valid.

Namespace

Drupal\migrate\Exception

Code

protected $violations;

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