You are here

protected property EntityDuplicateFormTrait::$sourceEntity in Entity API 8

The source entity.

Type: \Drupal\Core\Entity\EntityInterface

File

src/Form/EntityDuplicateFormTrait.php, line 22

Class

EntityDuplicateFormTrait
Allows forms to implement EntityDuplicateFormInterface.

Namespace

Drupal\entity\Form

Code

protected $sourceEntity;