EntityConstraintViolationList::$violationOffsetsByField

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php \Drupal\Core\Entity\EntityConstraintViolationList::violationOffsetsByField
  2. 10 core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php \Drupal\Core\Entity\EntityConstraintViolationList::violationOffsetsByField
  3. 11.x core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php \Drupal\Core\Entity\EntityConstraintViolationList::violationOffsetsByField

Violation offsets grouped by field.

Keys are field names, values are arrays of violation offsets.

Type: array[]|null

File

core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php, line 40

Class

EntityConstraintViolationList
Implements an entity constraint violation list.

Namespace

Drupal\Core\Entity

Code

protected $violationOffsetsByField;

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