public function EntityConstraintViolationListInterface::getEntity in Drupal 8
Same name and namespace in other branches
- 9 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 93
Class
- EntityConstraintViolationListInterface
- Interface for the result of entity validation.
Namespace
Drupal\Core\EntityCode
public function getEntity();