public function EntityConstraintViolationList::getEntity in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php \Drupal\Core\Entity\EntityConstraintViolationList::getEntity()
The entity which has been validated.
Return value
\Drupal\Core\Entity\FieldableEntityInterface The entity object.
Overrides EntityConstraintViolationListInterface::getEntity
File
- core/
lib/ Drupal/ Core/ Entity/ EntityConstraintViolationList.php, line 184 - Contains \Drupal\Core\Entity\EntityConstraintViolationList.
Class
- EntityConstraintViolationList
- Implements an entity constraint violation list.
Namespace
Drupal\Core\EntityCode
public function getEntity() {
return $this->entity;
}