public function EntityConstraintViolationListInterface::getEntityViolations
public 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.
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();
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityConstraintViolationListInterface.php/function/EntityConstraintViolationListInterface::getEntityViolations/8.1.x