public function ImportEvent::setEntity in Content Synchronizer 3.x
Same name and namespace in other branches
- 8.2 src/Events/ImportEvent.php \Drupal\content_synchronizer\Events\ImportEvent::setEntity()
- 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\EventsCode
public function setEntity(EntityInterface $entity) {
$this->entity = $entity;
}