Same name 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.

Fichier

src/Form/EntityCloneForm.php, line 263

Classe

EntityCloneForm
Implements an entity Clone form.

Namespace

Drupal\entity_clone\Form

Code

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