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\Entity

Code

1
public function getEntityViolations();
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.