You are here

public function EntityConstraintViolationListInterface::getEntityViolations in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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
Gets violations flagged on entity level, not associated with any field.

File

core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php, line 28
Contains \Drupal\Core\Entity\EntityConstraintViolationListInterface.

Class

EntityConstraintViolationListInterface
Interface for the result of entity validation.

Namespace

Drupal\Core\Entity

Code

public function getEntityViolations();