Same name in other branches
- 8.x-1.x src/Event/EntityCloneEvent.php \Drupal\entity_clone\Event\EntityCloneEvent::getEntity()
Gets entity being cloned.
Return value
\Drupal\Core\Entity\EntityInterface The original entity.
Fichier
-
src/
Event/ EntityCloneEvent.php, line 56
Classe
- EntityCloneEvent
- Represents entity selection as event.
Namespace
Drupal\entity_clone\EventCode
public function getEntity() {
return $this->entity;
}