function EntityConstraintViolationList::add
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
Return value
void
1 call to EntityConstraintViolationList::add()
- EntityConstraintViolationList::filterByFields in core/
lib/ Drupal/ Core/ Entity/ EntityConstraintViolationList.php - Filters this violation list by the given fields.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityConstraintViolationList.php, line 208
Class
- EntityConstraintViolationList
- Implements an entity constraint violation list.
Namespace
Drupal\Core\EntityCode
public function add(ConstraintViolationInterface $violation) {
parent::add($violation);
$this->violationOffsetsByField = NULL;
$this->entityViolationOffsets = NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.