You are here

public function EntityConstraintViolationListInterface::getEntity in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 98
Contains \Drupal\Core\Entity\EntityConstraintViolationListInterface.

Class

EntityConstraintViolationListInterface
Interface for the result of entity validation.

Namespace

Drupal\Core\Entity

Code

public function getEntity();