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