function EntityConstraintViolationListInterface::getEntityViolations
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php \Drupal\Core\Entity\EntityConstraintViolationListInterface::getEntityViolations()
- 8.9.x core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php \Drupal\Core\Entity\EntityConstraintViolationListInterface::getEntityViolations()
- 11.x core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php \Drupal\Core\Entity\EntityConstraintViolationListInterface::getEntityViolations()
Gets violations flagged on entity level, not associated with any field.
Return value
\Drupal\Core\Entity\EntityConstraintViolationListInterface A list of violations on the entity level.
1 method overrides EntityConstraintViolationListInterface::getEntityViolations()
- EntityConstraintViolationList::getEntityViolations in core/
lib/ Drupal/ Core/ Entity/ EntityConstraintViolationList.php
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityConstraintViolationListInterface.php, line 23
Class
- EntityConstraintViolationListInterface
- Interface for the result of entity validation.
Namespace
Drupal\Core\EntityCode
public function getEntityViolations();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.