Same name and namespace in other branches
  1. 8.x-1.x src/Form/EntityCloneForm.php \Drupal\entity_clone\Form\EntityCloneForm::getEntity()

Gets the entity of this form.

Return value

\Drupal\Core\Entity\EntityInterface The entity.

File

src/Form/EntityCloneForm.php, line 263

Class

EntityCloneForm
Implements an entity Clone form.

Namespace

Drupal\entity_clone\Form

Code

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