Same name in other branches
  1. 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.

Fichier

src/Event/EntityCloneEvent.php, line 66

Classe

EntityCloneEvent
Represents entity selection as event.

Namespace

Drupal\entity_clone\Event

Code

public function getClonedEntity() {
    return $this->clonedEntity;
}