You are here

public function EntityCloneForm::getEntity in Entity Clone 8

Gets the entity of this form.

Return value

\Drupal\Core\Entity\EntityInterface The entity.

File

src/Form/EntityCloneForm.php, line 256

Class

EntityCloneForm
Implements an entity Clone form.

Namespace

Drupal\entity_clone\Form

Code

public function getEntity() {
  return $this->entity;
}