function EntityConstraintViolationListInterface::getEntity
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php \Drupal\Core\Entity\EntityConstraintViolationListInterface::getEntity()
- 8.9.x core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php \Drupal\Core\Entity\EntityConstraintViolationListInterface::getEntity()
- 11.x 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\EntityCode
public function getEntity();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.