function EntityConstraintViolationListInterface::getEntity

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php \Drupal\Core\Entity\EntityConstraintViolationListInterface::getEntity()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php \Drupal\Core\Entity\EntityConstraintViolationListInterface::getEntity()
  3. 10 core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php \Drupal\Core\Entity\EntityConstraintViolationListInterface::getEntity()

The entity which has been validated.

Return value

\Drupal\Core\Entity\FieldableEntityInterface The entity object.

1 method overrides EntityConstraintViolationListInterface::getEntity()
EntityConstraintViolationList::getEntity in core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php
The entity which has been validated.

File

core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php, line 107

Class

EntityConstraintViolationListInterface
Interface for the result of entity validation.

Namespace

Drupal\Core\Entity

Code

public function getEntity();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.