Same name in other branches
- 2.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\FormCode
public function getEntity() {
return $this->entity;
}