public function EntityCloneEvent::getClonedEntity in Entity Clone 8
Gets new cloned entity.
Return value
\Drupal\Core\Entity\EntityInterface The cloned entity.
File
- src/
Event/ EntityCloneEvent.php, line 66
Class
- EntityCloneEvent
- Represents entity selection as event.
Namespace
Drupal\entity_clone\EventCode
public function getClonedEntity() {
return $this->clonedEntity;
}