You are here

public function ImportEvent::setEntity in Content Synchronizer 3.x

Same name and namespace in other branches
  1. 8.2 src/Events/ImportEvent.php \Drupal\content_synchronizer\Events\ImportEvent::setEntity()
  2. 8 src/Events/ImportEvent.php \Drupal\content_synchronizer\Events\ImportEvent::setEntity()

Set the entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: THe entity.

File

src/Events/ImportEvent.php, line 45

Class

ImportEvent
Import event.

Namespace

Drupal\content_synchronizer\Events

Code

public function setEntity(EntityInterface $entity) {
  $this->entity = $entity;
}