Same name in other branches
- 2.x src/Event/EntityCloneEvent.php \Drupal\entity_clone\Event\EntityCloneEvent::getClonedEntity()
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;
}