You are here

public function EntityDuplicateFormTrait::getSourceEntity in Entity API 8

File

src/Form/EntityDuplicateFormTrait.php, line 27

Class

EntityDuplicateFormTrait
Allows forms to implement EntityDuplicateFormInterface.

Namespace

Drupal\entity\Form

Code

public function getSourceEntity() {
  return $this->sourceEntity;
}